Merge pull request #444 from johanhelsing/disable-cargo-dependabot #811
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/rust-cache@v2.7.3 | |
- 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 |