Skip to content

Explicitly install Rust toolchain in GitHub test action #34

Explicitly install Rust toolchain in GitHub test action

Explicitly install Rust toolchain in GitHub test action #34

Workflow file for this run

name: Test
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
env:
CARGO_TERM_COLOR: always
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install Rust
uses: actions-rs/toolchain@v1
with:
toolchain: stable
profile: minimal
components: rust-src
- name: Run tests
run: cargo test --verbose