Skip to content

Update module golang.org/x/sync to v0.7.0 #84

Update module golang.org/x/sync to v0.7.0

Update module golang.org/x/sync to v0.7.0 #84

Workflow file for this run

name: Main Branch Workflow
on:
push:
branches:
- main
jobs:
test:
name: test job
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
with:
go-version: 1.19
- uses: actions/cache@v3
name: Cache Go Modules
id: cache
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
- name: Download Go Modules
if: steps.cache.outputs.cache-hit != 'true'
run: go mod download
- name: Run tests
run: go test -v -race -coverpkg=./... -coverprofile=coverage.txt ./...
- uses: codecov/codecov-action@v3