change(ci): Turn CI errors into PR annotations for most CI jobs (#6690)
* Turn CI errors into PR annotations for most jobs * Fix a missing step name
This commit is contained in:
parent
57415419af
commit
de08b01fd4
|
@ -45,12 +45,13 @@ env:
|
|||
|
||||
jobs:
|
||||
matrix:
|
||||
name: Crates matrix
|
||||
name: Generate crates matrix
|
||||
runs-on: ubuntu-latest
|
||||
outputs:
|
||||
matrix: ${{ steps.set-matrix.outputs.matrix }}
|
||||
steps:
|
||||
- uses: actions/checkout@v3.5.2
|
||||
- uses: r7kamura/rust-problem-matchers@v1.3.0
|
||||
|
||||
# Setup Rust with stable toolchain and minimal profile
|
||||
- name: Setup Rust
|
||||
|
@ -81,6 +82,7 @@ jobs:
|
|||
echo "matrix=$MATRIX" >> "$GITHUB_OUTPUT"
|
||||
|
||||
check-matrix:
|
||||
name: Check crates matrix
|
||||
runs-on: ubuntu-latest
|
||||
needs: [ matrix ]
|
||||
steps:
|
||||
|
@ -107,6 +109,7 @@ jobs:
|
|||
- uses: actions/checkout@v3.5.2
|
||||
with:
|
||||
persist-credentials: false
|
||||
- uses: r7kamura/rust-problem-matchers@v1.3.0
|
||||
|
||||
- name: Install last version of Protoc
|
||||
uses: arduino/setup-protoc@v1.1.2
|
||||
|
|
|
@ -74,6 +74,7 @@ jobs:
|
|||
- uses: actions/checkout@v3.5.2
|
||||
with:
|
||||
persist-credentials: false
|
||||
- uses: r7kamura/rust-problem-matchers@v1.3.0
|
||||
|
||||
- name: Inject slug/short variables
|
||||
uses: rlespinasse/github-slug-action@v4
|
||||
|
|
|
@ -78,6 +78,8 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
needs: build
|
||||
steps:
|
||||
- uses: r7kamura/rust-problem-matchers@v1.3.0
|
||||
|
||||
- name: Inject slug/short variables
|
||||
uses: rlespinasse/github-slug-action@v4
|
||||
with:
|
||||
|
|
|
@ -137,6 +137,8 @@ jobs:
|
|||
needs: build
|
||||
if: ${{ github.event.inputs.regenerate-disks != 'true' && github.event.inputs.run-full-sync != 'true' && github.event.inputs.run-lwd-sync != 'true' }}
|
||||
steps:
|
||||
- uses: r7kamura/rust-problem-matchers@v1.3.0
|
||||
|
||||
- name: Inject slug/short variables
|
||||
uses: rlespinasse/github-slug-action@v4
|
||||
with:
|
||||
|
@ -159,6 +161,8 @@ jobs:
|
|||
needs: build
|
||||
if: ${{ github.event.inputs.regenerate-disks != 'true' && github.event.inputs.run-full-sync != 'true' && github.event.inputs.run-lwd-sync != 'true' }}
|
||||
steps:
|
||||
- uses: r7kamura/rust-problem-matchers@v1.3.0
|
||||
|
||||
- name: Inject slug/short variables
|
||||
uses: rlespinasse/github-slug-action@v4
|
||||
with:
|
||||
|
@ -184,6 +188,8 @@ jobs:
|
|||
needs: build
|
||||
if: ${{ github.event.inputs.regenerate-disks != 'true' && github.event.inputs.run-full-sync != 'true' && github.event.inputs.run-lwd-sync != 'true' }}
|
||||
steps:
|
||||
- uses: r7kamura/rust-problem-matchers@v1.3.0
|
||||
|
||||
- name: Inject slug/short variables
|
||||
uses: rlespinasse/github-slug-action@v4
|
||||
with:
|
||||
|
@ -205,6 +211,8 @@ jobs:
|
|||
needs: build
|
||||
if: ${{ github.event.inputs.regenerate-disks != 'true' && github.event.inputs.run-full-sync != 'true' && github.event.inputs.run-lwd-sync != 'true' }}
|
||||
steps:
|
||||
- uses: r7kamura/rust-problem-matchers@v1.3.0
|
||||
|
||||
- name: Inject slug/short variables
|
||||
uses: rlespinasse/github-slug-action@v4
|
||||
with:
|
||||
|
@ -224,6 +232,8 @@ jobs:
|
|||
needs: build
|
||||
if: ${{ github.event.inputs.regenerate-disks != 'true' && github.event.inputs.run-full-sync != 'true' && github.event.inputs.run-lwd-sync != 'true' }}
|
||||
steps:
|
||||
- uses: r7kamura/rust-problem-matchers@v1.3.0
|
||||
|
||||
- name: Inject slug/short variables
|
||||
uses: rlespinasse/github-slug-action@v4
|
||||
with:
|
||||
|
@ -244,6 +254,8 @@ jobs:
|
|||
needs: build
|
||||
if: ${{ github.event.inputs.regenerate-disks != 'true' && github.event.inputs.run-full-sync != 'true' && github.event.inputs.run-lwd-sync != 'true' }}
|
||||
steps:
|
||||
- uses: r7kamura/rust-problem-matchers@v1.3.0
|
||||
|
||||
- name: Inject slug/short variables
|
||||
uses: rlespinasse/github-slug-action@v4
|
||||
with:
|
||||
|
@ -267,6 +279,8 @@ jobs:
|
|||
needs: build
|
||||
if: ${{ github.event.inputs.regenerate-disks != 'true' && github.event.inputs.run-full-sync != 'true' && github.event.inputs.run-lwd-sync != 'true' }}
|
||||
steps:
|
||||
- uses: r7kamura/rust-problem-matchers@v1.3.0
|
||||
|
||||
- name: Inject slug/short variables
|
||||
uses: rlespinasse/github-slug-action@v4
|
||||
with:
|
||||
|
|
|
@ -86,6 +86,7 @@ jobs:
|
|||
- uses: actions/checkout@v3.5.2
|
||||
with:
|
||||
persist-credentials: false
|
||||
- uses: r7kamura/rust-problem-matchers@v1.3.0
|
||||
|
||||
- name: Install last version of Protoc
|
||||
uses: arduino/setup-protoc@v1.1.2
|
||||
|
@ -199,6 +200,7 @@ jobs:
|
|||
- uses: actions/checkout@v3.5.2
|
||||
with:
|
||||
persist-credentials: false
|
||||
- uses: r7kamura/rust-problem-matchers@v1.3.0
|
||||
|
||||
# Setup Rust with stable toolchain and minimal profile
|
||||
- name: Setup Rust
|
||||
|
@ -220,6 +222,7 @@ jobs:
|
|||
- uses: actions/checkout@v3.5.2
|
||||
with:
|
||||
persist-credentials: false
|
||||
- uses: r7kamura/rust-problem-matchers@v1.3.0
|
||||
|
||||
- name: Install last version of Protoc
|
||||
uses: arduino/setup-protoc@v1.1.2
|
||||
|
@ -260,6 +263,7 @@ jobs:
|
|||
- uses: actions/checkout@v3.5.2
|
||||
with:
|
||||
persist-credentials: false
|
||||
- uses: r7kamura/rust-problem-matchers@v1.3.0
|
||||
|
||||
# The --all-features job is the only job that gives accurate "skip tree root was not found" warnings.
|
||||
# In other jobs, we expect some of these warnings, due to disabled features.
|
||||
|
@ -278,6 +282,7 @@ jobs:
|
|||
uses: actions/checkout@v3.5.2
|
||||
with:
|
||||
persist-credentials: false
|
||||
- uses: r7kamura/rust-problem-matchers@v1.3.0
|
||||
|
||||
# Setup Rust with stable toolchain and minimal profile
|
||||
- name: Setup Rust
|
||||
|
|
|
@ -113,6 +113,7 @@ jobs:
|
|||
with:
|
||||
persist-credentials: false
|
||||
fetch-depth: '2'
|
||||
- uses: r7kamura/rust-problem-matchers@v1.3.0
|
||||
|
||||
- name: Inject slug/short variables
|
||||
uses: rlespinasse/github-slug-action@v4
|
||||
|
@ -207,6 +208,7 @@ jobs:
|
|||
with:
|
||||
persist-credentials: false
|
||||
fetch-depth: '2'
|
||||
- uses: r7kamura/rust-problem-matchers@v1.3.0
|
||||
|
||||
- name: Inject slug/short variables
|
||||
uses: rlespinasse/github-slug-action@v4
|
||||
|
@ -272,6 +274,7 @@ jobs:
|
|||
with:
|
||||
persist-credentials: false
|
||||
fetch-depth: '2'
|
||||
- uses: r7kamura/rust-problem-matchers@v1.3.0
|
||||
|
||||
- name: Inject slug/short variables
|
||||
uses: rlespinasse/github-slug-action@v4
|
||||
|
@ -449,6 +452,7 @@ jobs:
|
|||
with:
|
||||
persist-credentials: false
|
||||
fetch-depth: '2'
|
||||
- uses: r7kamura/rust-problem-matchers@v1.3.0
|
||||
|
||||
- name: Inject slug/short variables
|
||||
uses: rlespinasse/github-slug-action@v4
|
||||
|
@ -585,6 +589,11 @@ jobs:
|
|||
with:
|
||||
persist-credentials: false
|
||||
fetch-depth: '2'
|
||||
# We can't use the standard Rust problem matchers on these jobs,
|
||||
# because they produce a lot of output.
|
||||
#
|
||||
# TODO: create a custom matcher config for these specific jobs
|
||||
#- uses: r7kamura/rust-problem-matchers@v1.3.0
|
||||
|
||||
- name: Inject slug/short variables
|
||||
uses: rlespinasse/github-slug-action@v4
|
||||
|
@ -1546,6 +1555,7 @@ jobs:
|
|||
with:
|
||||
persist-credentials: false
|
||||
fetch-depth: '2'
|
||||
- uses: r7kamura/rust-problem-matchers@v1.3.0
|
||||
|
||||
- name: Inject slug/short variables
|
||||
uses: rlespinasse/github-slug-action@v4
|
||||
|
@ -1749,6 +1759,7 @@ jobs:
|
|||
with:
|
||||
persist-credentials: false
|
||||
fetch-depth: '2'
|
||||
- uses: r7kamura/rust-problem-matchers@v1.3.0
|
||||
|
||||
- name: Inject slug/short variables
|
||||
uses: rlespinasse/github-slug-action@v4
|
||||
|
|
|
@ -115,6 +115,7 @@ jobs:
|
|||
- uses: actions/checkout@v3.5.2
|
||||
with:
|
||||
persist-credentials: false
|
||||
- uses: r7kamura/rust-problem-matchers@v1.3.0
|
||||
|
||||
- name: Install last version of Protoc
|
||||
uses: arduino/setup-protoc@v1.1.2
|
||||
|
@ -153,6 +154,7 @@ jobs:
|
|||
- uses: actions/checkout@v3.5.2
|
||||
with:
|
||||
persist-credentials: false
|
||||
- uses: r7kamura/rust-problem-matchers@v1.3.0
|
||||
|
||||
- name: Install last version of Protoc
|
||||
uses: arduino/setup-protoc@v1.1.2
|
||||
|
|
Loading…
Reference in New Issue