Skip to content

Merge pull request #103 from H1rono/fix/cspell-conf #52

Merge pull request #103 from H1rono/fix/cspell-conf

Merge pull request #103 from H1rono/fix/cspell-conf #52

Workflow file for this run

name: Validation
on:
push:
branches:
- "main"
pull_request:
branches:
- "main"
jobs:
validate-manifest:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install taplo
run: |
curl -fsSL https://github.com/tamasfe/taplo/releases/latest/download/taplo-linux-x86_64.gz \
| gzip -d - | install -m 755 /dev/stdin /usr/local/bin/taplo
- name: Validate Cargo.toml
run: taplo lint --schema https://json.schemastore.org/cargo.json Cargo.toml
- name: Validate rust-toolchain.toml
run: taplo lint --schema https://json.schemastore.org/rust-toolchain.json rust-toolchain.toml
- name: Install action-validator
run: |
curl -fsSL https://github.com/mpalmer/action-validator/releases/latest/download/action-validator_linux_amd64 \
| install -m 755 /dev/stdin /usr/local/bin/action-validator
- name: Validate workflow files
run: |
action-validator .github/workflows/audit.yml
action-validator .github/workflows/rust.yml
action-validator .github/workflows/release.yml
action-validator .github/workflows/validate.yml
- name: Validate codecov.yml
run: |
curl -f --data-binary @codecov.yml https://codecov.io/validate
check-spell:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: streetsidesoftware/cspell-action@v5
with:
inline: 'error'
incremental_files_only: false