Skip to content

Commit

Permalink
Fix CI warnings (#104)
Browse files Browse the repository at this point in the history
* Fix warnings

* clippy fix
  • Loading branch information
pawelchcki authored Jan 30, 2023
1 parent 19b7f69 commit e3887c3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ jobs:
--check-previous
- name: export the generated license file on failure
if: ${{ failure() }}
uses: actions/upload-artifact@v1
uses: actions/upload-artifact@v3
with:
name: LICENSE-3rdparty.yml
path: /tmp/CI.yaml
10 changes: 5 additions & 5 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
runs-on: ${{ matrix.platform }}
strategy:
matrix:
platform: [windows-latest, ubuntu-latest, macos-latest]
platform: [windows-latest, ubuntu-latest, macos-12]
rust_version: [""]
include:
- platform: "ubuntu-latest"
Expand All @@ -26,7 +26,7 @@ jobs:
if: ${{ matrix.rust_version != '' }}
run: rustup install ${{ matrix.rust_version }} && rustup default ${{ matrix.rust_version }}
- id: rust-version
run: "echo ::set-output name=version::$(rustc --version)"
run: echo "version=$(rustc --version)" >> $GITHUB_OUTPUT
- name: "[${{ steps.rust-version.outputs.version}}] cargo build --workspace --verbose"
run: cargo build --workspace --verbose
- name: "[${{ steps.rust-version.outputs.version}}] cargo test --workspace --verbose"
Expand All @@ -39,7 +39,7 @@ jobs:
runs-on: ${{ matrix.platform }}
strategy:
matrix:
platform: [windows-latest, ubuntu-latest, macos-latest]
platform: [windows-latest, ubuntu-latest, macos-12]
rust_version: [""]
include:
- platform: "ubuntu-latest"
Expand Down Expand Up @@ -72,7 +72,7 @@ jobs:
run: rustup install ${{ matrix.rust_version }} && rustup default ${{ matrix.rust_version }}

- id: rust-version
run: "echo ::set-output name=version::$(rustc --version)"
run: echo "version=$(rustc --version)" >> $GITHUB_OUTPUT

- name: "Generate profiling FFI"
shell: bash
Expand All @@ -87,7 +87,7 @@ jobs:
./build-profiling-ffi.sh ${OUTPUT_FOLDER}/telemetry
- name: 'Publish libdatadog'
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
if: '${{ always() }}'
with:
if-no-files-found: error
Expand Down

0 comments on commit e3887c3

Please sign in to comment.