aboutsummaryrefslogtreecommitdiffstats
path: root/.github/workflows/rust.yml
blob: 4705baf6986f8baa3cbd4d2a7869d4d62c02878d (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
27
28
name: Rust

on:
  push:
    paths:
      - "**.rs"
      - "Cargo.**"
      - ".github/workflows/rust.yml"
  pull_request:
    paths:
      - "**.rs"
      - "Cargo.**"
      - ".github/workflows/rust.yml"

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