From d7274d723d8451b3ad11fc7704d41807366f33be Mon Sep 17 00:00:00 2001 From: shinya Date: Mon, 4 May 2026 19:00:19 +0200 Subject: [PATCH] cleanup --- .gitea/workflows/docker.yml | 46 ------------------------------------- flake.nix | 1 - go.mod | 2 +- go.sum | 4 ++-- 4 files changed, 3 insertions(+), 50 deletions(-) delete mode 100644 .gitea/workflows/docker.yml diff --git a/.gitea/workflows/docker.yml b/.gitea/workflows/docker.yml deleted file mode 100644 index 26afcab..0000000 --- a/.gitea/workflows/docker.yml +++ /dev/null @@ -1,46 +0,0 @@ -name: Docker Build - -on: - push: - branches: ["main"] - workflow_dispatch: - -jobs: - build: - runs-on: ubuntu-latest - steps: - - name: Checkout - uses: actions/checkout@v4 - - - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v3 - - - name: Log in to Gitea registry - if: ${{ secrets.REGISTRY_USERNAME != '' && secrets.REGISTRY_PASSWORD != '' }} - uses: docker/login-action@v3 - with: - registry: git.kogami.xyz - username: ${{ secrets.REGISTRY_USERNAME }} - password: ${{ secrets.REGISTRY_PASSWORD }} - - - name: Build image (with registry cache) - if: ${{ secrets.REGISTRY_USERNAME != '' && secrets.REGISTRY_PASSWORD != '' }} - uses: docker/build-push-action@v6 - with: - context: . - platforms: linux/amd64 - push: false - load: true - tags: matrix-bot:latest - cache-from: type=registry,ref=git.kogami.xyz/foglar/matrix-bot:buildcache - cache-to: type=registry,ref=git.kogami.xyz/foglar/matrix-bot:buildcache,mode=max - - - name: Build image (no registry cache) - if: ${{ secrets.REGISTRY_USERNAME == '' || secrets.REGISTRY_PASSWORD == '' }} - uses: docker/build-push-action@v6 - with: - context: . - platforms: linux/amd64 - push: false - load: true - tags: matrix-bot:latest diff --git a/flake.nix b/flake.nix index ec096e4..d909923 100644 --- a/flake.nix +++ b/flake.nix @@ -21,7 +21,6 @@ olm ]; - # Needed so CGO can find olm/olm.h and libolm.so shellHook = '' export CGO_ENABLED=1 ''; diff --git a/go.mod b/go.mod index 74b3c64..3e8bc48 100644 --- a/go.mod +++ b/go.mod @@ -12,7 +12,7 @@ require ( github.com/golang/freetype v0.0.0-20170609003504-e2365dfdc4a0 // indirect github.com/mattn/go-colorable v0.1.14 // indirect github.com/mattn/go-isatty v0.0.20 // indirect - github.com/mattn/go-sqlite3 v1.14.33 // indirect + github.com/mattn/go-sqlite3 v1.14.34 // indirect github.com/petermattis/goid v0.0.0-20260113132338-7c7de50cc741 // indirect github.com/rs/zerolog v1.34.0 // indirect github.com/tidwall/gjson v1.18.0 // indirect diff --git a/go.sum b/go.sum index a2681cf..be23ec0 100644 --- a/go.sum +++ b/go.sum @@ -17,8 +17,8 @@ github.com/mattn/go-isatty v0.0.16/go.mod h1:kYGgaQfpe5nmfYZH+SKPsOc2e4SrIfOl2e/ github.com/mattn/go-isatty v0.0.19/go.mod h1:W+V8PltTTMOvKvAeJH7IuucS94S2C6jfK/D7dTCTo3Y= github.com/mattn/go-isatty v0.0.20 h1:xfD0iDuEKnDkl03q4limB+vH+GxLEtL/jb4xVJSWWEY= github.com/mattn/go-isatty v0.0.20/go.mod h1:W+V8PltTTMOvKvAeJH7IuucS94S2C6jfK/D7dTCTo3Y= -github.com/mattn/go-sqlite3 v1.14.33 h1:A5blZ5ulQo2AtayQ9/limgHEkFreKj1Dv226a1K73s0= -github.com/mattn/go-sqlite3 v1.14.33/go.mod h1:Uh1q+B4BYcTPb+yiD3kU8Ct7aC0hY9fxUwlHK0RXw+Y= +github.com/mattn/go-sqlite3 v1.14.34 h1:3NtcvcUnFBPsuRcno8pUtupspG/GM+9nZ88zgJcp6Zk= +github.com/mattn/go-sqlite3 v1.14.34/go.mod h1:Uh1q+B4BYcTPb+yiD3kU8Ct7aC0hY9fxUwlHK0RXw+Y= github.com/petermattis/goid v0.0.0-20260113132338-7c7de50cc741 h1:KPpdlQLZcHfTMQRi6bFQ7ogNO0ltFT4PmtwTLW4W+14= github.com/petermattis/goid v0.0.0-20260113132338-7c7de50cc741/go.mod h1:pxMtw7cyUw6B2bRH0ZBANSPg+AoSud1I1iyJHI69jH4= github.com/pkg/errors v0.9.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0=