From 21faeee8efb739a4ba38b6f43a51c9f86ac5a47a Mon Sep 17 00:00:00 2001 From: zervo Date: Thu, 5 Dec 2024 20:38:44 +0100 Subject: [PATCH] Update CI --- .forgejo/workflows/build.yaml | 1 - build/ci/build.yaml => .forgejo/workflows/build.yml | 3 ++- build/ci/build.yml | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) delete mode 120000 .forgejo/workflows/build.yaml rename build/ci/build.yaml => .forgejo/workflows/build.yml (85%) create mode 120000 build/ci/build.yml diff --git a/.forgejo/workflows/build.yaml b/.forgejo/workflows/build.yaml deleted file mode 120000 index 03a5712..0000000 --- a/.forgejo/workflows/build.yaml +++ /dev/null @@ -1 +0,0 @@ -../../build/ci/build.yaml \ No newline at end of file diff --git a/build/ci/build.yaml b/.forgejo/workflows/build.yml similarity index 85% rename from build/ci/build.yaml rename to .forgejo/workflows/build.yml index 37b7b18..b400d0a 100644 --- a/build/ci/build.yaml +++ b/.forgejo/workflows/build.yml @@ -1,8 +1,9 @@ on: [push] - jobs: build: runs-on: docker + container: + image: golang:latest steps: - run: go build -x -v -o=stbackend -buildvcs=true ./cmd/stbackend/main. diff --git a/build/ci/build.yml b/build/ci/build.yml new file mode 120000 index 0000000..18818e6 --- /dev/null +++ b/build/ci/build.yml @@ -0,0 +1 @@ +../../.forgejo/workflows/build.yml \ No newline at end of file