From 87aa380a9da8a3b9acbb53f06614cd4e6195bb2c Mon Sep 17 00:00:00 2001 From: ErickSkrauch Date: Fri, 17 Nov 2023 04:54:54 +0100 Subject: [PATCH] Add GitHub Actions --- .github/workflows/build.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 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..ae5fd8f --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,22 @@ +name: Build + +on: [push] + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v4 + + - name: Setup Go 1.21 + uses: actions/setup-go@v4 + with: + go-version: 1.21 + cache-dependency-path: go.sum + + - name: Install dependencies + run: go get . + + - name: Build + run: go build ./...