Skip to content

Release 0.2.3 (#68) #137

Release 0.2.3 (#68)

Release 0.2.3 (#68) #137

Workflow file for this run

name: CI (TOML)
on:
pull_request:
push:
branches:
- "main"
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number }} # Cancel previous CI jobs on the same branch
cancel-in-progress: true
jobs:
toml-lints:
name: Lint TOML files
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: 1.67.0
override: true
- name: Set up cargo cache
uses: Swatinem/rust-cache@v2
with:
# See: https://github.com/rerun-io/rerun/pull/497
env-vars: CARGO CC CFLAGS CXX CMAKE RUST CACHE_KEY
# Don't update the cache -- it will be updated by the lint job
# TODO(jleibs): this job will likely run before rust.yml updates
# the cache. Better cross-job sequencing would be nice here
save-if: false
- name: Install taplo-cli
uses: baptiste0928/cargo-install@v1
with:
crate: taplo-cli
- name: Taplo check
run: |
taplo fmt --check