diff --git a/.github/workflows/build-and-test.yml b/.github/workflows/build-and-test.yml index 5864174..903d545 100644 --- a/.github/workflows/build-and-test.yml +++ b/.github/workflows/build-and-test.yml @@ -12,11 +12,12 @@ jobs: - name: Setup Go uses: actions/setup-go@v4 with: - go-version: '1.19.x' + go-version-file: 'aoc/go.mod' + cache: false - name: Build - working-directory: ./aoc + working-directory: aoc run: go build -v - name: Test with the Go CLI - working-directory: ./aoc + working-directory: aoc run: go test