-
Notifications
You must be signed in to change notification settings - Fork 2
Pre-release fixes #4
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
Open
str4d
wants to merge
3
commits into
main
Choose a base branch
from
pre-release-fixes
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
3 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,87 @@ | ||
| name: CI checks | ||
|
|
||
| on: | ||
| pull_request: | ||
| push: | ||
| branches: main | ||
|
|
||
| permissions: {} | ||
|
|
||
| jobs: | ||
| test: | ||
| name: Test on ${{ matrix.os }} | ||
| runs-on: ${{ matrix.os }} | ||
| strategy: | ||
| fail-fast: false | ||
| matrix: | ||
| os: [ubuntu-latest, windows-latest, macOS-latest] | ||
|
|
||
| steps: | ||
| - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | ||
| with: | ||
| persist-credentials: false | ||
| - name: Run tests | ||
| run: > | ||
| cargo test | ||
| --verbose | ||
| - name: Verify working directory is clean | ||
| run: git diff --exit-code | ||
|
|
||
| test-32-bit: | ||
| name: Test on i686-unknown-linux-gnu | ||
| runs-on: ubuntu-latest | ||
|
|
||
| steps: | ||
| - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | ||
| with: | ||
| persist-credentials: false | ||
| - name: Install cross-platform support dependencies | ||
| run: sudo apt install gcc-multilib | ||
| - run: rustup target add i686-unknown-linux-gnu | ||
| - name: Run tests | ||
| run: > | ||
| cargo test | ||
| --verbose | ||
| --target i686-unknown-linux-gnu | ||
|
|
||
| build: | ||
| name: Build target ${{ matrix.target }} | ||
| runs-on: ubuntu-latest | ||
| strategy: | ||
| matrix: | ||
| target: | ||
| - wasm32-unknown-unknown | ||
| - wasm32-wasi | ||
|
|
||
| steps: | ||
| - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | ||
| with: | ||
| persist-credentials: false | ||
| - name: Add target | ||
| run: rustup target add ${{ matrix.target }} | ||
| - name: cargo build | ||
| run: > | ||
| cargo build | ||
| --target ${{ matrix.target }} | ||
|
|
||
| doc-links: | ||
| name: Intra-doc links | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | ||
| with: | ||
| persist-credentials: false | ||
| # Ensure intra-documentation links all resolve correctly | ||
| # Requires #![deny(intra_doc_link_resolution_failure)] in crates. | ||
| - name: Check intra-doc links | ||
| run: cargo doc --all --all-features --document-private-items | ||
|
|
||
| fmt: | ||
| name: Rustfmt | ||
| timeout-minutes: 30 | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | ||
| with: | ||
| persist-credentials: false | ||
| - run: cargo fmt --all -- --check |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,33 @@ | ||
| name: Beta lints | ||
|
|
||
| # These lints are only informative, so we only run them directly on branches | ||
| # and not trial-merges of PRs, to reduce noise. | ||
| on: push | ||
|
|
||
| jobs: | ||
| clippy-beta: | ||
| name: Clippy (beta) | ||
| runs-on: ubuntu-latest | ||
| permissions: | ||
| checks: write | ||
| continue-on-error: true | ||
| steps: | ||
| - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | ||
| with: | ||
| persist-credentials: false | ||
| - uses: dtolnay/rust-toolchain@beta | ||
|
|
||
| id: toolchain | ||
| with: | ||
| components: clippy | ||
| - run: rustup override set "${TOOLCHAIN}" | ||
| shell: sh | ||
| env: | ||
| TOOLCHAIN: ${{steps.toolchain.outputs.name}} | ||
| - name: Run Clippy (beta) | ||
| uses: auguwu/clippy-action@94a9ff2f6920180b89e5c03d121d0af04a9d3e03 # 1.4.0 | ||
| with: | ||
| token: ${{ secrets.GITHUB_TOKEN }} | ||
| check-args: > | ||
| --all-targets | ||
| args: > | ||
| -W clippy::all | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,23 @@ | ||
| name: Stable lints | ||
|
|
||
| # We only run these lints on trial-merges of PRs to reduce noise. | ||
| on: pull_request | ||
|
|
||
| jobs: | ||
| clippy: | ||
| name: Clippy (MSRV) | ||
| runs-on: ubuntu-latest | ||
| permissions: | ||
| checks: write | ||
| steps: | ||
| - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | ||
| with: | ||
| persist-credentials: false | ||
| - name: Run clippy | ||
| uses: auguwu/clippy-action@94a9ff2f6920180b89e5c03d121d0af04a9d3e03 # 1.4.0 | ||
| with: | ||
| token: ${{ secrets.GITHUB_TOKEN }} | ||
| check-args: > | ||
| --all-targets | ||
| args: > | ||
| -D warnings |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,26 @@ | ||
| name: GitHub Actions Security Analysis with zizmor 🌈 | ||
|
|
||
| on: | ||
| push: | ||
| branches: ["main"] | ||
| pull_request: | ||
| branches: ["**"] | ||
|
|
||
| permissions: {} | ||
|
|
||
| jobs: | ||
| zizmor: | ||
| name: Run zizmor 🌈 | ||
| runs-on: ubuntu-latest | ||
| permissions: | ||
| security-events: write | ||
| contents: read # only needed for private repos | ||
| actions: read # only needed for private repos | ||
| steps: | ||
| - name: Checkout repository | ||
| uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | ||
| with: | ||
| persist-credentials: false | ||
|
|
||
| - name: Run zizmor 🌈 | ||
| uses: zizmorcore/zizmor-action@e639db99335bc9038abc0e066dfcd72e23d26fb4 # v0.3.0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,3 @@ | ||
| [toolchain] | ||
| channel = "1.60.0" | ||
| components = ["clippy", "rustfmt"] |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.