Skip to content
This repository has been archived by the owner on Aug 6, 2024. It is now read-only.

Commit

Permalink
added clippy and fmt to build
Browse files Browse the repository at this point in the history
  • Loading branch information
ayax79 committed Feb 1, 2024
1 parent a6fe048 commit bce800d
Showing 1 changed file with 16 additions and 13 deletions.
29 changes: 16 additions & 13 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
@@ -1,22 +1,25 @@
name: Rust

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

branches:
- main
env:
CARGO_TERM_COLOR: always

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: Build
run: cargo build --verbose
- name: Run tests
run: cargo test --verbose
- uses: actions/checkout@v3
- name: Build
run: cargo build --verbose
- name: Run tests
run: cargo test --verbose
- name: Clippy
run: cargo clippy --workspace
- name: cargo fmt
run: cargo fmt --all -- --check


0 comments on commit bce800d

Please sign in to comment.