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 +