Skip to content
This repository has been archived by the owner on Dec 5, 2023. It is now read-only.

CI: Update workflow trigger #12

CI: Update workflow trigger

CI: Update workflow trigger #12

Workflow file for this run

name: Coverage
on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
jobs:
codecov:
name: Code coverage
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: |
git config --global url."https://${{ secrets.ROBOT_TOPOSWARE_PRIV_REPOS_TOKEN }}@github.com/".insteadOf "https://github.com/"
- name: Install Protoc
uses: arduino/setup-protoc@v1
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true
- uses: Swatinem/rust-cache@v1
- uses: actions-rs/[email protected]
with:
args: "--engine llvm --workspace --all-features --release"
timeout: 600
- name: Upload coverage to Codecov
uses: codecov/[email protected]
with:
token: ${{ secrets.CODECOV_TOKEN }}
fail_ci_if_error: true