Skip to content

Bump golang.org/x/sync from 0.8.0 to 0.10.0 (#76) #301

Bump golang.org/x/sync from 0.8.0 to 0.10.0 (#76)

Bump golang.org/x/sync from 0.8.0 to 0.10.0 (#76) #301

Workflow file for this run

name: Go
on:
push:
branches:
- main
pull_request:
jobs:
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: "1.23"
- name: go fmt
run: |
output=$(gofmt -s -d .)
echo "$output"
test -z "$output"
- name: go vet
run: go vet ./...
- name: install staticcheck
run: go install honnef.co/go/tools/cmd/staticcheck@latest
- name: staticcheck
run: staticcheck ./...
- name: go mod tidy
run: |
go mod tidy -diff
cd examples/ && go mod tidy -diff
test:
name: Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: "1.23"
- name: go test
run: go test ./...