Skip to content

Commit

Permalink
Action updates (#21)
Browse files Browse the repository at this point in the history
* Update codeql-action/upload-sarif to v3
* Add pull request to build
  • Loading branch information
a1ecbr0wn authored Jun 17, 2024
1 parent b380211 commit 82e3cc7
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 3 deletions.
9 changes: 8 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,16 @@ on:
- '**/*.md'
- 'LICENSE'
- '**/snapcraft.yaml'
workflow_dispatch:
pull_request:
branches:
- main
paths-ignore:
- '**/*.md'
- 'LICENSE'
- '**/snapcraft.yaml'
schedule:
- cron: '0 0 * * 1'
workflow_dispatch:

env:
RUSTFLAGS: '--deny warnings'
Expand Down
15 changes: 13 additions & 2 deletions .github/workflows/clippy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,24 @@ name: Rust Clippy Analyze

on:
push:
branches: [ main ]
branches:
- '**'
paths-ignore:
- '**/*.md'
- 'LICENSE'
- '**/snapcraft.yaml'
- '.github/workflows/clippy.yml'
pull_request:
branches:
- main
paths:
- '**/*.md'
- 'LICENSE'
- '**/snapcraft.yaml'
- '.github/workflows/clippy.yml'
schedule:
- cron: '0 2 * * 1'
workflow_dispatch:

jobs:
clippy:
Expand Down Expand Up @@ -47,7 +58,7 @@ jobs:
continue-on-error: true

- name: Upload analysis results to GitHub
uses: github/codeql-action/upload-sarif@v2
uses: github/codeql-action/upload-sarif@v3
with:
sarif_file: rust-clippy-results.sarif
wait-for-processing: true

0 comments on commit 82e3cc7

Please sign in to comment.