Skip to content

Refactor CI

Refactor CI #31

Workflow file for this run

name: Test
on:
pull_request:
types:
- opened
- reopened
- synchronize
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
env:
RUST_BACKTRACE: 1
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-22.04]
env:
SCCACHE_GHA_ENABLED: "true"
RUSTC_WRAPPER: "sccache"
steps:
- uses: actions/checkout/@v4
- name: Setup Rust toolchain
uses: dtolnay/rust-toolchain@master
with:
toolchain: 1.81.0
- name: Install cargo-binstall
uses: taiki-e/install-action@v2
with:
tool: cargo-binstall
- name: Install cargo-component
run: cargo binstall cargo-component
- name: Show env
uses: ./.github/actions/show-env
- name: Setup build cache
uses: mozilla-actions/[email protected]
- name: Setup protoc
uses: arduino/setup-protoc@v3
- name: Test
uses: ./.github/actions/test