Skip to content

Commit

Permalink
Format actions
Browse files Browse the repository at this point in the history
  • Loading branch information
thedocruby committed Nov 2, 2023
1 parent 4d40884 commit 4af657d
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 13 deletions.
15 changes: 7 additions & 8 deletions .github/workflows/build_n_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,20 @@ name: Build & Test

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

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
9 changes: 4 additions & 5 deletions .github/workflows/rust-clippy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@ name: rust-clippy analyze

on:
push:
branches: [ "master" ]
branches: [master]
pull_request:
# The branches below must be a subset of the branches above
branches: [ "master" ]
branches: [master]
schedule:
- cron: '00 4 * * 1'
- cron: 00 4 * * 1

jobs:
rust-clippy-analyze:
Expand All @@ -42,8 +42,7 @@ jobs:
run: cargo install clippy-sarif sarif-fmt

- name: Run rust-clippy
run:
cargo clippy
run: cargo clippy
--all-features
--message-format=json | clippy-sarif | tee rust-clippy-results.sarif | sarif-fmt
continue-on-error: true
Expand Down

0 comments on commit 4af657d

Please sign in to comment.