Skip to content

ci: switch to amazon runners #20

ci: switch to amazon runners

ci: switch to amazon runners #20

Workflow file for this run

name: Lint
on:
push:
branches:
- main
pull_request:
jobs:
lint:
runs-on: linux.2xlarge
steps:
- name: Setup Python
# This hash has been reviewed for security issues. If upgrading please
# rereview the action source.
uses: kishaningithub/setup-python-amazon-linux@46d057bc1c866dd51b4d2ad0c7631e9e8eed13e1
with:
python-version: '3.10'
- name: Checkout
uses: actions/checkout@v2
- name: Install Dependencies
run: |
set -eux
sudo yum install -y protobuf-compiler
pip install .[dev] -v
- name: Run Python Lint
run: |
set -eux
black --check .
- name: Run Rust Lint
run: |
set -eux
cargo fmt --check