Skip to content

Commit

Permalink
Update macOS clippy runner and remove actions-rs
Browse files Browse the repository at this point in the history
  • Loading branch information
tomasz-grz committed Oct 18, 2024
1 parent a0d7c35 commit 1b7ef73
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 13 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,13 @@ jobs:
include:
- arch: x86_64
target_os: macos
runner: macos-12
runner: macos-13
- arch: aarch64
target_os: macos
runner: macos-12
runner: macos-14
- arch: aarch64
target_os: ios
runner: macos-12
runner: macos-13
- arch: x86_64
target_os: windows
runner: windows-2022
Expand All @@ -47,7 +47,7 @@ jobs:
uses: egor-tensin/vs-shell@9a932a62d05192eae18ca370155cf877eecc2202 # v2.1
if: ${{ matrix.target_os == 'windows' }}
- name: install python3-requests
run: pip3 install requests==2.32.3
run: pip3 install requests==2.32.3 --break-system-packages
- name: Build libtelio
run: python3 ci/build_libtelio.py build ${{ matrix.target_os }} ${{ matrix.arch }} --msvc
- uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce # v3.1.2
Expand Down
11 changes: 2 additions & 9 deletions .github/workflows/linters.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,17 +48,10 @@ jobs:
command: clippy
args: --target "x86_64-pc-windows-gnu" --lib --color always -- --deny warnings --allow unknown-lints -W clippy::expect_used -W clippy::panic -W clippy::unwrap_used
clippy-mac:
runs-on: macos-12
runs-on: macos-13
steps:
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
- uses: actions-rs/toolchain@b2417cde72dcf67f306c0ae8e0828a81bf0b189f # v1.0.6
with:
target: x86_64-apple-darwin
components: clippy
- uses: actions-rs/cargo@ae10961054e4aa8b4aa7dffede299aaf087aa33b # v1.0.3
with:
command: clippy
args: --target "x86_64-apple-darwin" --lib --color always -- --deny warnings --allow unknown-lints -W clippy::expect_used -W clippy::panic -W clippy::unwrap_used
- run: cargo clippy --verbose --target "x86_64-apple-darwin" --lib --color always -- --deny warnings --allow unknown-lints -W clippy::expect_used -W clippy::panic -W clippy::unwrap_used
deny:
runs-on: ubuntu-22.04
steps:
Expand Down

0 comments on commit 1b7ef73

Please sign in to comment.