Skip to content

Pull path dependencies up to the workspace #318

Pull path dependencies up to the workspace

Pull path dependencies up to the workspace #318

Workflow file for this run

name: TOML
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
env:
CARGO_TERM_COLOR: always
jobs:
lint:
name: "Lint"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 2
- name: Skip if unchanged
id: changed-files-specific
uses: tj-actions/changed-files@v41
with:
files: |
*.toml
*.tml
- name: Install Cargo TOML linter
if: steps.changed-files-specific.outputs.only_changed == 'true'
run: cargo install cargo-toml-lint --version 0.1.1 --locked
- name: Lint Cargo.toml
if: steps.changed-files-specific.outputs.only_changed == 'true'
run: cargo-toml-lint Cargo.toml