Skip to content

chore(infra): mac-os builds fail, solve by porting some changes from main #699

chore(infra): mac-os builds fail, solve by porting some changes from main

chore(infra): mac-os builds fail, solve by porting some changes from main #699

Workflow file for this run

name: Linting
on:
- pull_request
jobs:
lint:
runs-on: macos-13
steps:
- name: Checkout code and submodule
uses: actions/checkout@v2
with:
submodules: recursive
- uses: webfactory/ssh-agent@v0.5.1
with:
ssh-private-key: ${{ secrets.CICD_RSA_KEY }}
- name: Install stable toolchain
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: 1.58.1
override: true
components: rustfmt, clippy
- name: Run cargo clippy
uses: actions-rs/cargo@v1
with:
command: clippy
args: --all-targets -- -D warnings
- name: Run cargo clippy with all features
uses: actions-rs/cargo@v1
with:
command: clippy
args: --all-features --all-targets -- -D warnings