-
Notifications
You must be signed in to change notification settings - Fork 100
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'refactor-workflows' into ref-dry-workflows
- Loading branch information
Showing
61 changed files
with
1,421 additions
and
931 deletions.
There are no files selected for viewing
This file contains 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 |
---|---|---|
|
@@ -21,4 +21,3 @@ | |
!zebra-* | ||
!zebrad | ||
!docker/entrypoint.sh | ||
!docker/runtime-entrypoint.sh |
This file contains 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
This file contains 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
This file contains 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
This file contains 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 |
---|---|---|
|
@@ -50,7 +50,7 @@ jobs: | |
outputs: | ||
matrix: ${{ steps.set-matrix.outputs.matrix }} | ||
steps: | ||
- uses: actions/checkout@v4.0.0 | ||
- uses: actions/checkout@v4.1.0 | ||
- uses: r7kamura/[email protected] | ||
|
||
# Setup Rust with stable toolchain and minimal profile | ||
|
@@ -106,7 +106,7 @@ jobs: | |
matrix: ${{ fromJson(needs.matrix.outputs.matrix) }} | ||
|
||
steps: | ||
- uses: actions/checkout@v4.0.0 | ||
- uses: actions/checkout@v4.1.0 | ||
with: | ||
persist-credentials: false | ||
- uses: r7kamura/[email protected] | ||
|
@@ -138,3 +138,21 @@ jobs: | |
- name: Build ${{ matrix.crate }} crate with all features | ||
run: | | ||
cargo build --package ${{ matrix.crate }} --all-features | ||
failure-issue: | ||
name: Open or update issues for building crates individually failures | ||
# When a new job is added to this workflow, add it to this list. | ||
needs: [ matrix, build ] | ||
# Only open tickets for failed or cancelled jobs that are not coming from PRs. | ||
# (PR statuses are already reported in the PR jobs list, and checked by Mergify.) | ||
if: (failure() && github.event.pull_request == null) || (cancelled() && github.event.pull_request == null) | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: jayqi/failed-build-issue-action@v1 | ||
with: | ||
title-template: "{{refname}} branch CI failed: {{eventName}} in {{workflow}}" | ||
# New failures open an issue with this label. | ||
label-name: S-ci-fail-build-crates-auto-issue | ||
# If there is already an open issue with this label, any failures become comments on that issue. | ||
always-create-new-issue: false | ||
github-token: ${{ secrets.GITHUB_TOKEN }} |
This file contains 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
This file contains 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
This file contains 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
This file contains 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 |
---|---|---|
|
@@ -30,14 +30,14 @@ jobs: | |
rust: ${{ steps.changed-files-rust.outputs.any_changed == 'true' }} | ||
workflows: ${{ steps.changed-files-workflows.outputs.any_changed == 'true' }} | ||
steps: | ||
- uses: actions/checkout@v4.0.0 | ||
- uses: actions/checkout@v4.1.0 | ||
with: | ||
persist-credentials: false | ||
fetch-depth: 0 | ||
|
||
- name: Rust files | ||
id: changed-files-rust | ||
uses: tj-actions/[email protected].0 | ||
uses: tj-actions/[email protected].1 | ||
with: | ||
files: | | ||
**/*.rs | ||
|
@@ -49,7 +49,7 @@ jobs: | |
- name: Workflow files | ||
id: changed-files-workflows | ||
uses: tj-actions/[email protected].0 | ||
uses: tj-actions/[email protected].1 | ||
with: | ||
files: | | ||
.github/workflows/*.yml | ||
|
@@ -62,7 +62,7 @@ jobs: | |
if: ${{ needs.changed-files.outputs.rust == 'true' }} | ||
|
||
steps: | ||
- uses: actions/checkout@v4.0.0 | ||
- uses: actions/checkout@v4.1.0 | ||
with: | ||
persist-credentials: false | ||
|
||
|
@@ -112,7 +112,7 @@ jobs: | |
if: ${{ needs.changed-files.outputs.rust == 'true' }} | ||
|
||
steps: | ||
- uses: actions/checkout@v4.0.0 | ||
- uses: actions/checkout@v4.1.0 | ||
with: | ||
persist-credentials: false | ||
- uses: r7kamura/[email protected] | ||
|
@@ -142,9 +142,9 @@ jobs: | |
needs: changed-files | ||
if: ${{ needs.changed-files.outputs.workflows == 'true' }} | ||
steps: | ||
- uses: actions/checkout@v4.0.0 | ||
- uses: actions/checkout@v4.1.0 | ||
- name: actionlint | ||
uses: reviewdog/[email protected].0 | ||
uses: reviewdog/[email protected].1 | ||
with: | ||
level: warning | ||
fail_on_error: false | ||
|
@@ -155,7 +155,7 @@ jobs: | |
runs-on: ubuntu-latest | ||
needs: changed-files | ||
steps: | ||
- uses: actions/checkout@v4.0.0 | ||
- uses: actions/checkout@v4.1.0 | ||
- uses: plettich/action-codespell@master | ||
with: | ||
github_token: ${{ secrets.github_token }} | ||
|
This file contains 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
Oops, something went wrong.