Merge pull request #2287 from zerotier:actions

Fix macOS GitHub Action
This commit is contained in:
Grant Limberg 2024-05-09 09:47:48 -07:00 committed by GitHub
commit ddb2759a52
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -43,13 +43,20 @@ jobs:
# git config --global core.eol lf
- name: checkout
uses: actions/checkout@v3
- name: Install Rust
- name: Install Rust aarch64
uses: actions-rs/toolchain@v1
with:
toolchain: stable
target: aarch64-apple-darwin
override: true
components: rustfmt, clippy
- name: Install Rust x86_64
uses: actions-rs/toolchain@v1
with:
toolchain: stable
target: x86_64-apple-darwin
override: true
components: rustfmt, clippy
- name: Set up cargo cache
uses: Swatinem/rust-cache@v2
continue-on-error: false