Add mutex for t.stopped to prevent data races #1076
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
name: Checks | |
on: | |
pull_request: | |
branches: | |
- main | |
jobs: | |
checks: | |
runs-on: ubuntu-latest | |
env: | |
BUILD_IN_CONTAINER: false | |
container: | |
image: grafana/loki-build-image:0.33.0 | |
steps: | |
- uses: actions/checkout@v4 | |
- run: git config --global --add safe.directory "$GITHUB_WORKSPACE" | |
- name: golangci-lint | |
uses: golangci/golangci-lint-action@08e2f20817b15149a52b5b3ebe7de50aff2ba8c5 | |
with: | |
version: v1.55.1 | |
only-new-issues: true | |
- run: make lint | |
- run: make check-doc | |
- run: make check-mod | |
- run: make validate-example-configs | |
- run: make check-example-config-doc | |
- run: make check-drone-drift | |
- run: make check-generated-files | |
- run: make test |