precompile: Remove extra checks #2566
Workflow file for this run
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
on: | |
push: | |
branches: [main, 'release-v**'] | |
pull_request: | |
name: Lints | |
jobs: | |
lints: | |
name: ${{ matrix.target }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest] | |
target: [fmt, taplo, clippy] | |
runs-on: ${{ matrix.os }} | |
env: | |
RUST_TOOLCHAIN: "nightly-2022-11-14" | |
steps: | |
- name: Prep build on Ubuntu | |
if: ${{ matrix.os }} == 'ubuntu-latest' | |
run: | | |
echo "Pre cleanup" | |
df -h | |
sudo rm -rf "/usr/local/share/boost" | |
sudo rm -rf "$AGENT_TOOLSDIRECTORY" | |
echo "Post cleanup" | |
df -h | |
sudo apt-get install protobuf-compiler | |
- name: Check out code | |
uses: actions/checkout@v3 | |
- name: Install latest nightly | |
uses: actions-rs/toolchain@88dc2356392166efad76775c878094f4e83ff746 | |
with: | |
toolchain: ${{ env.RUST_TOOLCHAIN }} | |
default: true | |
- name: Install taplo | |
uses: actions-rs/[email protected] | |
with: | |
crate: taplo-cli | |
version: 0.7.2 | |
use-tool-cache: true | |
- uses: Swatinem/rust-cache@cb2cf0cc7c5198d3364b9630e2c3d457f160790c | |
- name: Run lints | |
run: ./ci/script.sh | |
env: | |
TARGET: ${{ matrix.target }} | |