use cheaprandn as Fastrandn for go1.22 #329
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: lint | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Lint | |
run: | | |
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s v1.51.2 | |
git clone --depth=1 https://github.com/${GITHUB_REPOSITORY} | |
cd $(basename ${GITHUB_REPOSITORY}) | |
../bin/golangci-lint run |