From 45eaf82890a21a39f4b86c6e77f66ff268773187 Mon Sep 17 00:00:00 2001 From: Hactarus Date: Sat, 9 Nov 2024 16:29:51 +0100 Subject: [PATCH] Add some go setup test --- .forgejo/workflows/demo.yml | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/.forgejo/workflows/demo.yml b/.forgejo/workflows/demo.yml index d470cda..0999506 100644 --- a/.forgejo/workflows/demo.yml +++ b/.forgejo/workflows/demo.yml @@ -1,6 +1,16 @@ -on: [push] +on: + push: + branches: + - main jobs: test: runs-on: docker + container: + image: alpine:latest steps: - - run: echo All Good + - run: echo ${{ inputs.logLevel }} + - uses: actions/checkout@v4 + - uses: actions/setup-go@v5 + with: + go-version: '>=1.17.0' + - run: go version