Skip to content

Bump github.com/golang-jwt/jwt/v4 from 4.0.0 to 4.5.1 in /tools #720

Bump github.com/golang-jwt/jwt/v4 from 4.0.0 to 4.5.1 in /tools

Bump github.com/golang-jwt/jwt/v4 from 4.0.0 to 4.5.1 in /tools #720

Workflow file for this run

name: main
on: [push, pull_request]
jobs:
test:
name: Build on ${{ matrix.os }} with Go ${{ matrix.go }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macOS-latest]
go: ['1.19']
steps:
- name: Set up Go ${{ matrix.go }}
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go }}
- name: Check out code into the Go module directory
uses: actions/checkout@v4
- name: Download dependencies
run: go mod download
- name: Cache modules
uses: actions/cache@v3
with:
path: ~/go/pkg/mod
key: ${{ runner.OS }}-go-${{ hashFiles('**/go.sum') }}
- name: Build
run: go build
- name: Test
run: go test -coverpkg ./... -covermode atomic -coverprofile coverage.txt -tags fuzz -numCases 3000 -numEvents 10 ./...
- name: Lint
run: go vet ./...
- name: Upload coverage to Codecov
uses: codecov/[email protected]
with:
token: ${{ secrets.CODECOV_TOKEN }}
file: ./coverage.txt