aboutsummaryrefslogtreecommitdiffstats
path: root/.github/workflows/rust.yml
blob: 6f6ec8a1e0eed63b820959c3a19681fb0ce6f084 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
name: Rust

on:
  push:
    # paths:
    #   - "**.rs"
    #   - "Cargo.**"
  pull_request:
    paths:
      - "**.rs"
      - "Cargo.**"

jobs:
  rust:
    name: Rust Builds
    runs-on: ${{ matrix.os }}
    strategy:
      fail-fast: false
      matrix:
        os: [ubuntu-latest, macos-latest, windows-latest]
    steps:
      - name: Checkout repository
        uses: actions/checkout@v4
      - uses: actions-rust-lang/setup-rust-toolchain@v1
      - name: Test
        run: cargo test --verbose