fix(deps): update all non-major dependencies #356
This file contains hidden or 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: Lint | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | |
| cancel-in-progress: true | |
| on: # yamllint disable-line rule:truthy | |
| pull_request: | |
| branches: | |
| - main | |
| push: | |
| branches: | |
| - main | |
| permissions: read-all | |
| jobs: | |
| go: | |
| name: Go | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: read | |
| pull-requests: write | |
| steps: | |
| - name: Checkout source code | |
| uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5 | |
| with: | |
| fetch-depth: 0 | |
| - name: Set up Nix system | |
| uses: ./.github/actions/nix-setup | |
| with: | |
| github_token: ${{ secrets.GITHUB_TOKEN }} | |
| - name: Setup Go | |
| uses: ./.github/actions/go-setup # NOTE: used for caching only. | |
| - name: Set up golangci-lint | |
| uses: ./.github/actions/golangci-lint-setup | |
| - name: Run golangci-lint | |
| run: make go.lint | |
| shell: nix develop --quiet -c bash -e {0} | |
| super-linter: | |
| name: Super Linter | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: read | |
| packages: read | |
| statuses: write | |
| steps: | |
| - name: Checkout source code | |
| uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5 | |
| with: | |
| # Full git history is needed to get a proper | |
| # list of changed files within `super-linter` | |
| fetch-depth: 0 | |
| - name: Run super-linter | |
| uses: super-linter/super-linter@1fa6ba58a88783e9714725cf89ac26d53e80c148 # v6 | |
| env: | |
| VALIDATE_ALL_CODEBASE: false | |
| DEFAULT_BRANCH: main | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| # Linters are on the top-level of the repository. | |
| LINTER_RULES_PATH: ./ | |
| # Go is made out of copy-paste, forget this one. | |
| VALIDATE_JSCPD: false | |
| # NOTE: using Buf as linter, which is not supported by SuperLinter. | |
| VALIDATE_PROTOBUF: false | |
| # NOTE: super-linter has quite poor support for golangci-lint. | |
| # We use the official linter action for it instead. | |
| VALIDATE_GO: false | |
| VALIDATE_GO_MODULES: false |