From 9ed11f64106070c301f5c6bad41e45bccb3b0e52 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lilian=20J=C3=B3nsd=C3=B3ttir?= Date: Wed, 29 May 2024 16:25:56 -0700 Subject: [PATCH] forgejo go workflow?? --- .forgejo | 1 - .forgejo/workflows/go.yml | 28 ++++++++++++++++++++++++++++ 2 files changed, 28 insertions(+), 1 deletion(-) delete mode 120000 .forgejo create mode 100644 .forgejo/workflows/go.yml diff --git a/.forgejo b/.forgejo deleted file mode 120000 index 821c19d..0000000 --- a/.forgejo +++ /dev/null @@ -1 +0,0 @@ -.github \ No newline at end of file diff --git a/.forgejo/workflows/go.yml b/.forgejo/workflows/go.yml new file mode 100644 index 0000000..5724b60 --- /dev/null +++ b/.forgejo/workflows/go.yml @@ -0,0 +1,28 @@ +# This workflow will build a golang project +# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-go + +name: Go + +on: + push: + branches: [ "main" ] + pull_request: + branches: [ "main" ] + +jobs: + + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + + - name: Set up Go + uses: actions/setup-go@v4 + with: + go-version: '1.22' + + - name: Build + run: go build -v ./... + + - name: Test + run: go test -v ./...