Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
onihilist committed Jul 12, 2024
2 parents 686860e + e790ab4 commit 44144e2
Showing 1 changed file with 11 additions and 6 deletions.
17 changes: 11 additions & 6 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,23 +2,28 @@ name: Rust

on:
push:
branches: [ "main" ]
branches: [ main ]
pull_request:
branches: [ "main" ]
branches: [ main ]

env:
CARGO_TERM_COLOR: always

jobs:
build:

runs-on: windows-10-x64
runs-on: ubuntu-latest
strategy:
matrix:
toolchain:
- stable
- beta
- nightly

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v3
- run: rustup update ${{ matrix.toolchain }} && rustup default ${{ matrix.toolchain }}
- name: Build
run: cargo build --verbose
- name: Run tests
run: cargo test --verbose
- uses: actions/[email protected]

0 comments on commit 44144e2

Please sign in to comment.