This repository has been archived by the owner on Apr 24, 2024. It is now read-only.
fix(CI/CD): 修复 windows build 参数错误的问题, 修复 macOS 下 arm 没有正确触发的问题 #132
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Lint | |
on: | |
push: | |
branches: | |
- dev | |
workflow_dispatch: | |
concurrency: | |
group: "lint" | |
cancel-in-progress: true | |
jobs: | |
lint: | |
strategy: | |
fail-fast: false | |
matrix: | |
platform: [macos-latest, ubuntu-latest, windows-latest] | |
runs-on: ${{ matrix.platform }} | |
steps: | |
- uses: actions/checkout@v2 | |
- name: init environment | |
uses: ./.github/actions/initEnvironment | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
- name: lint | |
if: success() | |
run: cargo make ci-lint |