Skip to content

Build overhaul

Build overhaul #2914

Workflow file for this run

name: Lints Workflow
on:
push:
branches:
- 'main'
- 'develop'
pull_request:
workflow_dispatch:
jobs:
lints:
runs-on: ubuntu-latest
timeout-minutes: 25
steps:
- name: Cancel Outdated Builds
uses: styfle/[email protected]
with:
all_but_latest: true
access_token: ${{ github.token }}
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install -y protobuf-compiler
- name: Install Just
run: |
wget https://github.com/casey/just/releases/download/1.14.0/just-1.14.0-x86_64-unknown-linux-musl.tar.gz
tar -vxf just-1.14.0-x86_64-unknown-linux-musl.tar.gz just
sudo cp just /usr/bin/just
- name: Checkout Repository
uses: actions/checkout@v4
- name: Clippy async_std
run: just async_std lint
- name: Clippy tokio
run: just tokio lint