Bump github.com/golangci/golangci-lint from 1.55.2 to 1.59.1 and fix … #17
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Unit Tests on Go Tip | |
on: | |
push: | |
branches: [main] | |
permissions: | |
contents: read | |
jobs: | |
unit-tests-go-tip: | |
permissions: | |
checks: write | |
runs-on: ubuntu-latest | |
steps: | |
- name: Harden Runner | |
uses: step-security/harden-runner@17d0e2bd7d51742c71671bd19fa12bdc9d40a3d6 # v2.8.1 | |
with: | |
egress-policy: audit # TODO: change to 'egress-policy: block' after couple of runs | |
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6 | |
- name: Install Go Tip | |
uses: ./.github/actions/setup-go-tip | |
- name: Install test deps | |
# even though the same target runs from test-ci, running it separately makes for cleaner log in GH workflow | |
run: make install-test-tools | |
- name: Run unit tests | |
run: make test-ci | |
- name: Lint | |
run: echo skip linting on Go tip |