Skip to content

upgrade ci to go 1.22 #330

upgrade ci to go 1.22

upgrade ci to go 1.22 #330

Workflow file for this run

name: lint
on:
push:
branches:
- master
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/setup-go@v4
with:
go-version: '1.22'
check-latest: true
- 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