Skip to content

Commit

Permalink
Create main.yml
Browse files Browse the repository at this point in the history
foo
  • Loading branch information
SirVer authored Nov 23, 2023
1 parent e273ebf commit 28e3ae4
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Build & Test with Cargo
on: [push, pull_request]
jobs:
build:
name: cargo build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- run: cargo build --all
- run: cargo build --all --examples
test:
name: cargo test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- run: cargo test --all
- run: cargo test --all --examples

0 comments on commit 28e3ae4

Please sign in to comment.