From f40eb54c627ae19804138aa007ba39f82188ca3e Mon Sep 17 00:00:00 2001 From: Andrea Fazzi Date: Sun, 10 Nov 2024 15:21:22 +0100 Subject: [PATCH] Add go_hello workflow --- .forgejo/workflows/demo_docker.yaml | 6 ------ .forgejo/workflows/go_hello.yaml | 12 ++++++++++++ 2 files changed, 12 insertions(+), 6 deletions(-) delete mode 100644 .forgejo/workflows/demo_docker.yaml create mode 100644 .forgejo/workflows/go_hello.yaml diff --git a/.forgejo/workflows/demo_docker.yaml b/.forgejo/workflows/demo_docker.yaml deleted file mode 100644 index 36b29a2..0000000 --- a/.forgejo/workflows/demo_docker.yaml +++ /dev/null @@ -1,6 +0,0 @@ -on: [push] -jobs: - test_docker: - runs-on: ubuntu-22.04 - steps: - - run: docker info diff --git a/.forgejo/workflows/go_hello.yaml b/.forgejo/workflows/go_hello.yaml new file mode 100644 index 0000000..431a4b0 --- /dev/null +++ b/.forgejo/workflows/go_hello.yaml @@ -0,0 +1,12 @@ +on: [push] +jobs: + test: + runs-on: docker + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-go@v5 + with: + go-version: '1.16.1' # The Go version to download (if necessary) and use. + - run: go run hello.go + +