This repository has been archived by the owner on Jan 15, 2024. It is now read-only.
build(deps): bump golang.org/x/net from 0.15.0 to 0.16.0 #11
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: test | |
on: | |
push: | |
tags: | |
- v* | |
branches: | |
- main | |
pull_request: | |
permissions: | |
contents: read | |
pull-requests: read | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: WillAbides/[email protected] | |
with: | |
go-version: ^1.20 | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 1 | |
- uses: actions/cache@v3 | |
with: | |
path: ~/go/pkg/mod | |
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }} | |
restore-keys: | | |
${{ runner.os }}-go- | |
- run: go mod download -x | |
- run: go vet ./... | |
- uses: dominikh/[email protected] | |
with: | |
install-go: false | |
- run: go test -v ./... -race -bench=. -benchmem -cover -coverprofile cover.out 2>&1 | tee test.out | |
- run: go tool cover -func cover.out | |
- uses: wagoid/commitlint-github-action@v5 |