Skip to content

Commit

Permalink
ci(actions): 👷 update CI check
Browse files Browse the repository at this point in the history
  • Loading branch information
Jisu-Woniu committed Apr 26, 2024
1 parent c1f06cb commit 5162e9c
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 8 deletions.
12 changes: 8 additions & 4 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,11 @@

version: 2
updates:
- package-ecosystem: "devcontainers"
directory: "/"
schedule:
interval: weekly
- package-ecosystem: "devcontainers"
directory: "/"
schedule:
interval: daily
- package-ecosystem: cargo
directory: "/"
schedule:
interval: daily
11 changes: 9 additions & 2 deletions .github/workflows/building.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
with:
channel: stable
components: rust-src
bins: cargo-hack, cargo-deny
bins: cargo-hack, cargo-deny, clippy-sarif, sarif-fmt
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Setup mold
Expand All @@ -47,10 +47,17 @@ jobs:
uses: bufbuild/buf-lint-action@v1
- name: Run clippy lint
run: cargo hack clippy --all-targets --each-feature --workspace
--message-format json | clippy-sarif | tee rust-clippy-results.sarif | sarif-fmt
continue-on-error: true
- name: Upload analysis results to GitHub
uses: github/codeql-action/upload-sarif@v3
with:
sarif_file: rust-clippy-results.sarif
wait-for-processing: true
- name: Run tests
run: cargo hack test --all-targets --each-feature --verbose --workspace
- name: Check for MSRV compliance
run: cargo hack check --rust-version --all-targets --each-feature --workspace
run: cargo hack test --rust-version --all-targets --each-feature --workspace
- name: Check dependency graph
run: cargo deny --all-features --workspace check
pkg-deb:
Expand Down
4 changes: 2 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 5162e9c

Please sign in to comment.