Repository navigation
Release 0.3.4 #79
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Release 0.3.4 #79
Changes from all commits
45f9271
2908109
3f7b586
610696c
8e65bff
3aba13a
3a3a844
395c2b9
77f725e
8a1f42f
8be091e
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -2,9 +2,25 @@ name: rust-checks | |
| on: | ||
| pull_request: | ||
| workflow_dispatch: | ||
| permissions: | ||
| contents: read | ||
| jobs: | ||
| check-rust-build: | ||
| runs-on: ubuntu-latest | ||
| permissions: | ||
| contents: read | ||
| # required by upload-sarif | ||
| actions: read | ||
| security-events: write | ||
| services: | ||
| seaweedfs: | ||
| image: chrislusf/seaweedfs:4.51 | ||
| ports: | ||
| - 8333:8333 | ||
| options: >- | ||
| --health-cmd "curl -fsS -o /dev/null http://127.0.0.1:8333/healthz || exit 1" | ||
| --health-interval 2s | ||
| --health-retries 30 | ||
| steps: | ||
| - uses: actions/checkout@v2 | ||
| - uses: actions-rs/toolchain@v1 | ||
|
|
@@ -21,11 +37,11 @@ jobs: | |
| cargo fmt --version | ||
| cargo clippy --version | ||
|
|
||
| - name: cargo check | ||
| run: cargo check | ||
| - name: cargo check (default features) | ||
| run: cargo check --all-targets | ||
|
|
||
| - name: cargo test | ||
| run: cargo test | ||
| run: cargo test --all-features | ||
|
|
||
| - name: cargo fmt | ||
| run: cargo fmt --all -- --check | ||
|
|
@@ -43,3 +59,9 @@ jobs: | |
| uses: github/codeql-action/upload-sarif@v4 | ||
| with: | ||
| sarif_file: results.sarif | ||
|
|
||
| cargo-deny: | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - uses: actions/checkout@v4 | ||
| - uses: EmbarkStudios/cargo-deny-action@v2 | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I don't think it's good practice to use commit SHA's in github action workflow files |
||
Uh oh!
There was an error while loading. Please reload this page.