Bump actions/upload-artifact from 3 to 4 #33
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: Code Coverage | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions-rs/toolchain@v1 | |
name: ⚙ Install stable toolchain | |
with: | |
profile: minimal | |
toolchain: stable | |
override: true | |
- name: 🔬 Run cargo-tarpaulin | |
uses: actions-rs/tarpaulin@v0.1 | |
with: | |
version: 0.22.0 | |
args: '--exclude-files simulator/src/bin/*' | |
- name: 🆙 Upload to codecov.io | |
uses: codecov/codecov-action@v3 | |
- name: 💾 Archive code coverage results | |
uses: actions/upload-artifact@v4 | |
with: | |
name: code-coverage-report | |
path: cobertura.xml |