diff --git a/.github/workflows/lint.yaml b/.github/workflows/lint.yaml index 541aba9..2858715 100644 --- a/.github/workflows/lint.yaml +++ b/.github/workflows/lint.yaml @@ -20,7 +20,7 @@ jobs: uses: actions/checkout@v4 - name: Set up Go - uses: actions/setup-go@v4 + uses: actions/setup-go@v5 with: go-version-file: ./go.mod cache: true # caching and restoring go modules and build outputs @@ -29,7 +29,7 @@ jobs: run: go mod tidy && git diff --exit-code - name: golangci-lint - uses: golangci/golangci-lint-action@v3 + uses: golangci/golangci-lint-action@v6 with: version: ${{ env.GOLANGCI_LINT_VERSION }} skip-cache: true # cache/restore is done by actions/setup-go@v3 step diff --git a/.github/workflows/on-pull-request.yml b/.github/workflows/on-pull-request.yml index bbce744..cd888cb 100644 --- a/.github/workflows/on-pull-request.yml +++ b/.github/workflows/on-pull-request.yml @@ -4,9 +4,6 @@ on: pull_request: branches: [ master ] -env: - GOLANGCI_LINT_VERSION: v1.56.2 - jobs: test: name: test @@ -40,14 +37,9 @@ jobs: - name: Install deps run: go mod download - - name: golangci-lint - uses: golangci/golangci-lint-action@v4 - with: - version: ${{ env.GOLANGCI_LINT_VERSION }} - skip-cache: true - - name: Test run: go test -v -race -p=1 -count=1 -tags holster_test_mode + go-bench: runs-on: ubuntu-latest timeout-minutes: 30