From f6ea1162da884c94c7f02f68b1bb601ab5ed987e Mon Sep 17 00:00:00 2001 From: Nicola Zangrandi Date: Tue, 21 Jan 2025 17:05:11 +0100 Subject: [PATCH] Actually useful CI config added --- .forgejo/workflows/build.yml | 17 +++++++++++++++++ .forgejo/workflows/demo.yml | 7 ------- 2 files changed, 17 insertions(+), 7 deletions(-) create mode 100644 .forgejo/workflows/build.yml delete mode 100644 .forgejo/workflows/demo.yml diff --git a/.forgejo/workflows/build.yml b/.forgejo/workflows/build.yml new file mode 100644 index 0000000..8aad55d --- /dev/null +++ b/.forgejo/workflows/build.yml @@ -0,0 +1,17 @@ +on: [push] +jobs: + build: + runs-on: ubuntu-latest + steps: + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-go@v5 + with: + go-version-file: 'go.mod' + check-latest: true + cache-dependency-path: "**/*.sum" + - run: go build + - uses: actions/upload-artifact@v3 + with: + name: fj + path: fj diff --git a/.forgejo/workflows/demo.yml b/.forgejo/workflows/demo.yml deleted file mode 100644 index 47611eb..0000000 --- a/.forgejo/workflows/demo.yml +++ /dev/null @@ -1,7 +0,0 @@ -on: [push] -jobs: - test: - runs-on: alpine-latest - steps: - - shell: sh - run: echo using sh here