Skip to content

2024-23 (#39)

2024-23 (#39) #156

Workflow file for this run

name: Rust
on:
push:
branches: [ "master" ]
paths:
- 'rust/**'
pull_request:
branches: [ "master" ]
paths:
- 'rust/**'
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install latest nightly
uses: actions-rs/toolchain@v1
with:
toolchain: nightly
override: true
components: rustfmt, clippy
- name: Build
working-directory: ./rust
run: cargo +nightly build --verbose
- name: Run tests
working-directory: ./rust
run: cargo +nightly test --verbose
- name: Clippy
working-directory: ./rust
run: cargo +nightly clippy -- -W clippy::pedantic