aboutsummaryrefslogtreecommitdiffstats
path: root/.github/workflows/rust.yml
blob: 2db58dc429f561ae27ab3277e6ef474a96b0a022 (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: Build and Test (Rust)
    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