Skip to content

Commit e2b7c24

Browse files
authored
Update license check script and actions CI (#32)
1 parent 55400d0 commit e2b7c24

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

Diff for: .github/workflows/test.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ jobs:
7171
test:
7272
strategy:
7373
matrix:
74-
rust-version: ["stable"]
74+
rust-version: ["1.76.0"]
7575
platform: [ubuntu-latest]
7676
runs-on: ${{ matrix.platform }}
7777
if: (github.event.pull_request.draft == false && !contains(github.event.pull_request.labels.*.name, 'ci/skip') && !contains(github.event.pull_request.head.ref, 'datadog-api-spec/test/')) || github.event_name == 'schedule'

Diff for: scripts/license-check.sh

+1-5
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
11
cargo install --quiet dd-rust-license-tool
2-
cargo fetch --target aarch64-apple-darwin
2+
cargo update
33
dd-rust-license-tool check
4-
if [ $? -ne 0 ]; then
5-
echo "Run 'dd-rust-license-tool write' to regenerate license csv file."
6-
fi
7-
exit 0

0 commit comments

Comments
 (0)