fix concurrent access to jobs map #908
Workflow file for this run
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
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
name: golangci-lint | |
jobs: | |
golangci: | |
strategy: | |
matrix: | |
go-version: | |
- "1.20" | |
- "1.19" | |
- "1.18" | |
- "1.17" | |
- "1.16" | |
name: lint and test | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: golangci-lint | |
uses: golangci/golangci-lint-action@v3.7.0 | |
with: | |
version: v1.53.1 | |
- name: Install Go | |
uses: actions/setup-go@v4 | |
with: | |
go-version: ${{ matrix.go-version }} | |
- name: test | |
run: make test |