Checking PC validity performance improvement #188
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: # yamllint disable-line rule:truthy | |
push: | |
tags-ignore: | |
- 'v*' | |
paths: | |
- '**.go' | |
workflow_call: | |
pull_request: | |
jobs: | |
lint: | |
name: Linters | |
runs-on: ubuntu-latest | |
steps: | |
- name: Install Go | |
uses: actions/setup-go@v3 | |
with: | |
go-version: 1.19.x | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: '0' | |
- name: fetch main | |
run: git fetch origin main && git branch main remotes/origin/main | |
- name: Lint | |
uses: golangci/golangci-lint-action@v3 | |
with: | |
version: latest | |
args: | |
--config=./.golangci.yml | |
- name: staticcheck | |
uses: dominikh/[email protected] | |
with: | |
version: "2022.1.1" | |
install-go: false |