Merge pull request #35 from qonto/dependabot/go_modules/github.com/sp… #73
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: linter | |
on: # yamllint disable-line rule:truthy | |
push: | |
branches: | |
- "*" | |
permissions: | |
contents: read | |
jobs: | |
golangci: | |
name: golangci | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-go@v5 | |
with: | |
go-version: '1.21' | |
cache: false | |
- name: golangci-lint | |
uses: golangci/golangci-lint-action@v6 | |
with: | |
version: v1.54 | |
yamllint: | |
name: yamllint | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Lint YAML files | |
run: yamllint . # YAML lint is already installed in ubuntu-latest |