Skip to content

Document usage in the workflow file #281

Document usage in the workflow file

Document usage in the workflow file #281

Workflow file for this run

name: "CI Checks"
on:
push:
pull_request:
jobs:
lint:
name: lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
# Ensure rustfmt is installed and setup problem matcher
- uses: actions-rust-lang/setup-rust-toolchain@v1
with:
components: rustfmt
- name: Rustfmt Check
uses: actions-rust-lang/rustfmt@v1
- name: Run Clippy
env:
RUSTFLAGS: "-Dwarnings"
run: cargo clippy
test:
name: test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions-rust-lang/setup-rust-toolchain@v1
- run: cargo test --all-features
env:
S3_ACCESS_KEY: some-access-key
S3_SECRET_KEY: some-secret-key
S3_REGION: eu-central-1
S3_BUCKET_NAME: turbo
S3_ENDPOINT: "http://localhost:9000"