From f185722f1bc8904ec9161ef06cd1d3c55d24a6d1 Mon Sep 17 00:00:00 2001 From: Ross Baquir Date: Thu, 30 Nov 2023 14:45:54 -0800 Subject: [PATCH] add build and test action --- .github/workflows/build-and-test.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .github/workflows/build-and-test.yml diff --git a/.github/workflows/build-and-test.yml b/.github/workflows/build-and-test.yml new file mode 100644 index 0000000..ad7d552 --- /dev/null +++ b/.github/workflows/build-and-test.yml @@ -0,0 +1,17 @@ +name: Build and Test +on: [push] +jobs: + build: + name: Build + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - name: Setup Go + uses: actions/setup-go@v4 + with: + go-version: '1.19.x' + - name: Build + run: go build -v ./aoc/... + - name: Test with the Go CLI + run: go test +