Skip to content

Merge pull request #37 from spglib/pre-commit-ci-update-config #138

Merge pull request #37 from spglib/pre-commit-ci-update-config

Merge pull request #37 from spglib/pre-commit-ci-update-config #138

Workflow file for this run

name: Check
on:
push:
branches: [develop, main]
pull_request:
branches: [develop, main]
workflow_dispatch:
jobs:
pre-commit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
- uses: pre-commit/[email protected]
with:
extra_args: --all-files
cargo-deny:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: Swatinem/rust-cache@v2
- uses: EmbarkStudios/cargo-deny-action@v1
with:
rust-version: 1.83.0
pass:
name: ✅ Pass checks
needs: [pre-commit, cargo-deny]
runs-on: ubuntu-latest
steps:
- name: Check all CI jobs
uses: re-actors/alls-green@release/v1
with:
jobs: ${{ toJSON(needs) }}
if: always()