Skip to content

Bump actions/upload-artifact from 3 to 4 #33

Bump actions/upload-artifact from 3 to 4

Bump actions/upload-artifact from 3 to 4 #33

Workflow file for this run

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