Skip to content

Upgrade jwt to fix CVE-2024-51744 (#206) #688

Upgrade jwt to fix CVE-2024-51744 (#206)

Upgrade jwt to fix CVE-2024-51744 (#206) #688

Workflow file for this run

name: Code Coverage
on: [push, pull_request]
jobs:
test:
env:
GOPATH: ${{ github.workspace }}
defaults:
run:
working-directory: ${{ env.GOPATH }}/src/github.com/${{ github.repository }}
name: Post
runs-on: ubuntu-latest
steps:
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: '1.22.0'
- name: Check out code
uses: actions/checkout@v2
with:
path: ${{ env.GOPATH }}/src/github.com/${{ github.repository }}
- name: Install dependencies
run: |
go mod download
- name: Run Unit tests
run: |
go test $(go list ./... | grep -v /vendor/ | grep -v /cmd | grep -v /tests) -race -covermode atomic -coverprofile=covprofile ./...
- name: Install goveralls
env:
GOPATH: ${{ github.workspace }}
run: go install github.com/mattn/goveralls@latest
- name: Send coverage
run: $GOPATH/bin/goveralls -coverprofile=covprofile -service=github
env:
COVERALLS_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GOPATH: ${{ github.workspace }}