mac runner #1
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
# This is the linting CI workflow | |
name: lint | |
# This workflow is triggered on pull requests to the main branch | |
on: | |
push: | |
branches: ["main"] | |
pull_request: | |
branches: ["*"] | |
# The jobs that this workflow will run | |
jobs: | |
# The build job | |
build: | |
# This job runs on the latest version of Ubuntu | |
runs-on: macos-latest | |
steps: | |
# Checkout the repository | |
- uses: actions/checkout@v2 | |
# Install Rust | |
- name: Install Rust | |
run: | | |
# Download and install Rust | |
curl --proto '=https' --tlsv1.2 https://sh.rustup.rs -sSf -y | sh | |
rustup update | |
# Setup the project | |
- name: Setup | |
run: make setup | |
# Lint the code | |
- name: Lint | |
run: make lint |