Skip to content

Update module golang.org/x/sync to v0.13.0 (#254) #513

Update module golang.org/x/sync to v0.13.0 (#254)

Update module golang.org/x/sync to v0.13.0 (#254) #513

Workflow file for this run

name: go
on:
pull_request:
paths:
- .github/workflows/go.yaml
- '**/*.go'
- '**/go.*'
- Makefile
push:
paths:
- .github/workflows/go.yaml
- '**/*.go'
- '**/go.*'
- Makefile
branches:
- master
jobs:
test:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: actions/setup-go@0aaccfd150d50ccaeb58ebd88d36e91967a5f35b # v5.4.0
with:
go-version-file: go.work
cache-dependency-path: go.sum
- run: go test -v -race ./...
lint:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: actions/setup-go@0aaccfd150d50ccaeb58ebd88d36e91967a5f35b # v5.4.0
with:
go-version-file: go.work
cache-dependency-path: go.work.sum
- run: go tool github.com/golangci/golangci-lint/cmd/golangci-lint run
generate:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: actions/setup-go@0aaccfd150d50ccaeb58ebd88d36e91967a5f35b # v5.4.0
with:
go-version-file: go.work
cache-dependency-path: go.sum
- run: go mod tidy
- uses: int128/update-generated-files-action@65b9a7ae3ededc5679d78343f58fbebcf1ebd785 # v2.57.0