Skip to content

build(deps): Bump actions/checkout from 7.0.0 to 7.0.1 #17

build(deps): Bump actions/checkout from 7.0.0 to 7.0.1

build(deps): Bump actions/checkout from 7.0.0 to 7.0.1 #17

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
permissions:
contents: read
env:
CARGO_TERM_COLOR: always
jobs:
source:
name: Source Checks
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
with:
fetch-depth: 0
- name: Install Rust
uses: dtolnay/rust-toolchain@4be7066ada62dd38de10e7b70166bc74ed198c30 # stable as of 2026-06-30
with:
components: rustfmt
- name: Cache Cargo
uses: Swatinem/rust-cache@c19371144df3bb44fab255c43d04cbc2ab54d1c4 # v2.9.1
- name: Format
run: cargo fmt --check
- name: Test
run: cargo test --locked
- name: Build
run: cargo build --locked
- name: CLI Smoke
run: |
target/debug/codex-warp --version
target/debug/codex-warp --help
- name: Diff Whitespace
run: |
if [ "${{ github.event_name }}" = "pull_request" ]; then
git diff --check "origin/${{ github.base_ref }}...HEAD"
else
before="${{ github.event.before }}"
if [ -n "$before" ] && [ "$before" != "0000000000000000000000000000000000000000" ]; then
git diff --check "$before..${{ github.sha }}"
else
git show --check --format= HEAD
fi
fi
- name: Docs Whitespace
run: |
! grep -RInE '[[:blank:]]$' README.md AGENTS.md docs