diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index bb88aea..5c926bb 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -20,9 +20,11 @@ jobs: steps: - name: Checkout code uses: actions/checkout@v3 - - name: Install Go - uses: actions/setup-go@v3 + - name: Set up Go + id: go + uses: actions/setup-go@v4 with: - go-version: '1.20' + go-version-file: 'go.mod' + check-latest: true - name: Test run: go test ./...