File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed
Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -52,14 +52,13 @@ jobs:
5252
5353 clippy :
5454 runs-on : ubuntu-latest
55- name : ${{ matrix.toolchain }} / ${{ matrix.flag }} / clippy
55+ name : ${{ matrix.flag }} / clippy
5656 permissions :
5757 contents : read
5858 checks : write
5959 strategy :
6060 fail-fast : false
6161 matrix :
62- toolchain : [ stable, beta ]
6362 # newrelic_agent_control needs either onhost or k8s feature, the rest of packages can be checked also without features
6463 flag : [ "--features=onhost", "--features=k8s", "--exclude='newrelic_agent_control'" ]
6564 steps :
@@ -79,10 +78,10 @@ jobs:
7978 RUST_VERSION=$(grep "rust-version" Cargo.toml | cut -d "=" -f2 | tr -d "[:space:]")
8079 echo "RUST_VERSION=${RUST_VERSION}" >> $GITHUB_ENV
8180
82- - name : Install Rust ${{ matrix.toolchain }}
81+ - name : Install Rust ${{ env.RUST_VERSION }}
8382 uses : dtolnay/rust-toolchain@master
8483 with :
85- toolchain : ${{ matrix.toolchain }}
84+ toolchain : ${{ env.RUST_VERSION }}
8685 components : clippy
8786
8887 - name : cargo clippy (${{ matrix.flag }})
You can’t perform that action at this time.
0 commit comments