Skip to content

Commit

Permalink
Merge pull request #24 from alexferl/alexferl-patch-1
Browse files Browse the repository at this point in the history
Update workflow.yaml
  • Loading branch information
alexferl authored Apr 7, 2024
2 parents 1c39e30 + 1aac04b commit 0f031a4
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/workflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,17 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
fetch-depth: 2
- uses: actions/setup-go@v2
- uses: actions/setup-go@v5
with:
go-version: '1.22'
- name: Make private key
run: openssl genrsa -out private-key.pem 4096
- name: Run coverage
run: go test -race -coverprofile=coverage.out -covermode=atomic ./...
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}

0 comments on commit 0f031a4

Please sign in to comment.