From fc613d99db3f49b7764efbb04d8bf03a8fb461d5 Mon Sep 17 00:00:00 2001 From: Freya Arbjerg Date: Fri, 9 Feb 2024 17:42:52 +0100 Subject: [PATCH] Add a GitHub Actions build task (#4) Add a GitHub Actions build task --- .github/workflows/build.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/build.yml diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..fd6e0bb --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,21 @@ +name: Go + +on: [push] + +jobs: + build: + + runs-on: ubuntu-latest + strategy: + matrix: + go-version: [ '1.21.x' ] + + steps: + - uses: actions/checkout@v4 + - name: Setup Go ${{ matrix.go-version }} + uses: actions/setup-go@v5 + with: + go-version: ${{ matrix.go-version }} + - name: Build + run: | + go build