Merge pull request #466 from haihala/main #892
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
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
name: Lint TOML | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout sources | |
uses: actions/checkout@v4 | |
- name: Install stable toolchain | |
uses: actions-rs/toolchain@v1 | |
with: | |
profile: minimal | |
toolchain: stable | |
override: true | |
- name: Rust Cache | |
uses: Swatinem/[email protected] | |
- name: Install Taplo | |
uses: actions-rs/cargo@v1 | |
with: | |
command: install | |
args: taplo-cli --locked | |
- name: Lint | |
run: | | |
taplo check --default-schema-catalogs | |
taplo fmt --check --diff |