WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

v0.6.1

v0.6.1 #262

Workflow file for this run

name: Quick Check
on:
push:
branches: [main, master]
pull_request:
branches: [main, master]
workflow_dispatch:
env:
CARGO_TERM_COLOR: always
jobs:
quick-check:
name: Format and Clippy Check
runs-on: ubuntu-latest
steps:
- name: Checkout codex-acp
uses: actions/checkout@v4
- name: Install Rust
uses: dtolnay/[email protected]
with:
components: rustfmt, clippy
- name: Cache cargo registry
uses: actions/cache@v4
with:
path: ~/.cargo/registry
key: ${{ runner.os }}-quick-cargo-registry-${{ hashFiles('**/Cargo.lock') }}
restore-keys: |
${{ runner.os }}-quick-cargo-registry-
- name: Cache cargo index
uses: actions/cache@v4
with:
path: ~/.cargo/git
key: ${{ runner.os }}-quick-cargo-git-${{ hashFiles('**/Cargo.lock') }}
restore-keys: |
${{ runner.os }}-quick-cargo-git-
- name: Check formatting
run: cargo fmt --all -- --check
- name: Run clippy on all targets
run: cargo clippy --all-targets --all-features -- -D warnings
- name: Run clippy on tests
run: cargo clippy --tests --all-features -- -D warnings