Skip to content

oops missing file

oops missing file #17

name: Lint
on:
push:
pull_request:
permissions:
contents: read
pull-requests: read
checks: write
jobs:
golangci-lint:
strategy:
matrix:
go-version:
- '1.15'
- '1.16'
- '1.17'
- '1.18'
- '1.19'
- '1.20'
- '1.21'
- '1.22'
runs-on:
- ubuntu-latest
- [ 'macOS', 'self-hosted', 'lint' ]
- windows-latest
exclude:
- runs-on: [ 'macOS', 'self-hosted', 'lint' ]
go-version: '1.15'
runs-on: ${{ matrix.runs-on }}
steps:
- uses: actions/checkout@v4
- name: Set git to use LF
run: |
git config core.autocrlf false
git rm --cached -r .
git reset --hard
- uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go-version }}
cache: false
- name: golangci-lint
uses: golangci/golangci-lint-action@v6
with:
version: v1.59.0
- name: golangci-lint
uses: golangci/golangci-lint-action@v6
with:
version: v1.59.0
args: --build-tags purego