Skip to content

Commit

Permalink
Update GHA CI workflow
Browse files Browse the repository at this point in the history
- Enable GHA workflow for Pull Requests so that required checks work
- Remove `cargo-tarpaulin` as we aren't using the output of the code
  coverage check, and the action-rs project appears to be unmaintained
  and non-functional.
- Target a specific ref in the `http-signatures-test-suite` repo as the
  branch tag has gone missing.
  • Loading branch information
bradfier committed May 22, 2023
1 parent c4a193f commit c12e3aa
Showing 1 changed file with 5 additions and 16 deletions.
21 changes: 5 additions & 16 deletions .github/workflows/toolchain.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
on: [push]
on: [push, pull_request]

name: CI

Expand Down Expand Up @@ -63,23 +63,12 @@ jobs:
toolchain: stable
override: true

- name: Run cargo-tarpaulin
uses: actions-rs/[email protected]
- name: Run cargo test
uses: actions-rs/cargo@v1
with:
version: latest
command: test
args: --all --all-features

- name: Upload to codecov.io
uses: codecov/[email protected]
with:
token: ${{secrets.CODECOV_TOKEN}}

- name: Archive code coverage results
uses: actions/upload-artifact@v1
with:
name: code-coverage-report
path: cobertura.xml

rfc-test-suite:
name: RFC Test Suite
runs-on: ubuntu-latest
Expand All @@ -92,7 +81,7 @@ jobs:
with:
repository: Diggsey/http-signatures-test-suite
path: http-signatures-test-suite
ref: remove-echo
ref: 872fad28a85d2f87f042b55ed05ca7a1d43d977b

- name: Setup Node.js
uses: actions/setup-node@v1
Expand Down

0 comments on commit c12e3aa

Please sign in to comment.