Add nolintlint linter (#5508) #8
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@f086349bfa2bd1361f7909c78558e816508cdc10 # v2.8.0 | |
with: | |
egress-policy: audit # TODO: change to 'egress-policy: block' after couple of runs | |
- uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # v4.1.2 | |
- 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 |