Skip to content

Upgrade all dependencies #423

Upgrade all dependencies

Upgrade all dependencies #423

Workflow file for this run

name: Linting
on: [push, pull_request]
env:
CRATE_NAME: precious
GITHUB_TOKEN: ${{ github.token }}
RUST_BACKTRACE: 1
jobs:
lint:
name: Check that code is lint clean using precious
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Cache cargo & target directories
uses: Swatinem/rust-cache@v2
- name: Install toolchain
uses: dtolnay/rust-toolchain@stable
- name: Configure Git
run: |
git config --global user.email "jdoe@example.com"
git config --global user.name "J. Doe"
- name: Run install-dev-tools.sh
run: |
set -e
mkdir $HOME/bin
./dev/bin/install-dev-tools.sh
- name: Run precious
run: |
PATH=$PATH:$HOME/bin precious lint -a