-
Notifications
You must be signed in to change notification settings - Fork 9
Dev fix #31
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
Dev fix #31
Changes from all commits
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 | ||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -16,8 +16,21 @@ jobs: | |||||||||||||||||||||||||||||
| if: ${{ github.repository_owner == 'drivercraft' && (github.event_name == 'workflow_dispatch' || github.event.workflow_run.conclusion == 'success') }} | ||||||||||||||||||||||||||||||
| runs-on: ubuntu-latest | ||||||||||||||||||||||||||||||
| steps: | ||||||||||||||||||||||||||||||
| - name: Checkout code | ||||||||||||||||||||||||||||||
| uses: actions/checkout@v4 | ||||||||||||||||||||||||||||||
| - &checkout | ||||||||||||||||||||||||||||||
| name: Checkout repository | ||||||||||||||||||||||||||||||
| uses: actions/checkout@v6 | ||||||||||||||||||||||||||||||
| with: | ||||||||||||||||||||||||||||||
| fetch-depth: 0 | ||||||||||||||||||||||||||||||
| persist-credentials: false | ||||||||||||||||||||||||||||||
| - &install-rust | ||||||||||||||||||||||||||||||
| name: Install Rust toolchain | ||||||||||||||||||||||||||||||
| uses: dtolnay/rust-toolchain@stable | ||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||
| - &setup-libudenv: | ||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||
| uses: awalsh128/cache-apt-pkgs-action@latest | ||||||||||||||||||||||||||||||
| with: | ||||||||||||||||||||||||||||||
| packages: libudev-dev | ||||||||||||||||||||||||||||||
| version: 1.0 | ||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||
| - name: Release with release-plz | ||||||||||||||||||||||||||||||
| uses: release-plz/action@v0.5 | ||||||||||||||||||||||||||||||
|
|
@@ -26,6 +39,27 @@ jobs: | |||||||||||||||||||||||||||||
| env: | ||||||||||||||||||||||||||||||
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||||||||||||||||||||||||||||||
| CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }} | ||||||||||||||||||||||||||||||
| # Create a PR with the new versions and changelog, preparing the next release. | ||||||||||||||||||||||||||||||
| release-plz-pr: | ||||||||||||||||||||||||||||||
| name: Release-plz PR | ||||||||||||||||||||||||||||||
| runs-on: ubuntu-latest | ||||||||||||||||||||||||||||||
| permissions: | ||||||||||||||||||||||||||||||
| contents: write | ||||||||||||||||||||||||||||||
| pull-requests: write | ||||||||||||||||||||||||||||||
| concurrency: | ||||||||||||||||||||||||||||||
| group: release-plz-${{ github.ref }} | ||||||||||||||||||||||||||||||
| cancel-in-progress: false | ||||||||||||||||||||||||||||||
| steps: | ||||||||||||||||||||||||||||||
| - *checkout | ||||||||||||||||||||||||||||||
| - *install-rust | ||||||||||||||||||||||||||||||
| - *setup-libudenv | ||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||
| - *checkout | |
| - *install-rust | |
| - *setup-libudenv | |
| - name: Checkout repository | |
| uses: actions/checkout@v6 | |
| with: | |
| fetch-depth: 0 | |
| persist-credentials: false | |
| - name: Install Rust toolchain | |
| uses: dtolnay/rust-toolchain@stable | |
| - uses: awalsh128/cache-apt-pkgs-action@latest | |
| with: | |
| packages: libudev-dev | |
| version: 1.0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The checkout action is updated to v6 in the new job steps, but the existing 'build-binaries' job still uses v4 (line 70). For consistency, all checkout actions in the workflow should use the same version. Consider updating line 70 to also use v6, or verify that v6 is the intended version for this workflow.