github.com/maypok86/otter@v1.2.1/.github/workflows/lint.yml (about) 1 name: Lint 2 3 on: [push] 4 5 jobs: 6 lint: 7 strategy: 8 matrix: 9 go-version: [1.19.x] 10 platform: [ubuntu-latest] 11 12 runs-on: ${{ matrix.platform }} 13 14 steps: 15 - name: Set up Go 1.x 16 uses: actions/setup-go@v5 17 with: 18 go-version: ${{ matrix.go-version }} 19 id: go 20 21 - name: Check out code into the Go module directory 22 uses: actions/checkout@v4 23 24 - name: lint 25 uses: golangci/golangci-lint-action@v4 26 with: 27 version: latest