Skip to content

Commit

Permalink
chore/github-actions
Browse files Browse the repository at this point in the history
  • Loading branch information
MadebyAe committed Mar 3, 2024
1 parent f5f2c61 commit d9ada71
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,27 @@ env:

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3

- name: Setup Rust
uses: actions-rs/toolchain@v1
with:
toolchain: stable
profile: minimal
override: true
components: clippy, rustfmt

- name: Check formatting
run: cargo fmt -- --check

- name: Lint with clippy
run: cargo clippy -- -D warnings

- name: Build
run: cargo build --verbose

- name: Run tests
run: cargo test --verbose

0 comments on commit d9ada71

Please sign in to comment.