diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index a4d5b02..0987c81 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -21,7 +21,7 @@ jobs: - uses: actions/checkout@v4 - name: Cache Go modules - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: | ~/.cache/go-build @@ -31,14 +31,12 @@ jobs: ${{ runner.os }}-go-modules- - name: Set up Go - uses: actions/setup-go@v4 + uses: actions/setup-go@v5 with: - go-version: "1.23.0" + go-version-file: "go.mod" - - name: Lint with golangci-lint-action - uses: golangci/golangci-lint-action@v4 - with: - version: latest + - name: Vet + run: go vet ./... - name: Build run: go build -v ./...