Skip to content

fix: Clone scope.Context in multiple places to avoid concurrent reads/writes #683

fix: Clone scope.Context in multiple places to avoid concurrent reads/writes

fix: Clone scope.Context in multiple places to avoid concurrent reads/writes #683

Workflow file for this run

name: Lint
on:
push:
branches:
- master
- release/**
pull_request:
permissions:
contents: read
defaults:
run:
shell: bash
concurrency:
group: lint-${{ github.ref }}
cancel-in-progress: true
jobs:
golangci-lint:
name: Lint
runs-on: ubuntu-latest
steps:
- uses: actions/setup-go@v3
with:
go-version: "1.20"
- uses: actions/checkout@v3
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
with:
version: v1.51
only-new-issues: true
args: --timeout=10m
timeout-minutes: 10