UI changes #79
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
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 |