Skip to content

Commit

Permalink
CI: Basic script
Browse files Browse the repository at this point in the history
  • Loading branch information
sophie-h committed Jun 27, 2024
1 parent b72bd57 commit 0b11119
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,23 @@ jobs:

runs-on: ubuntu-latest

matrix:
rust:
- "1.75"
- "stable"

steps:
- uses: actions/checkout@v4
- name: Build
run: cargo build --verbose
- name: Run tests
run: cargo test --verbose
- name: Install rust ${{ matrix.rust }}
uses: dtolnay/rust-toolchain@stable
with:
toolchain: ${{ matrix.rust }}
components: rustfmt, clippy
- name: Build
run: cargo build
- name: Run tests
run: cargo test -- --nocapture

0 comments on commit 0b11119

Please sign in to comment.