Skip to content

ci: use bash script instead of reusable workflow #1942

ci: use bash script instead of reusable workflow

ci: use bash script instead of reusable workflow #1942

Workflow file for this run

---
name: CI checks
on: push
jobs:
cargo-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: dtolnay/rust-toolchain@master
with:
toolchain: stable
components: rustfmt, clippy
- name: Run test script
run: |
bash .github/scripts/cargo.sh
cargo-publish:
needs:
- cargo-test
uses: Cosmian/reusable_workflows/.github/workflows/cargo-publish.yml@develop
if: startsWith(github.ref, 'refs/tags/')
with:
toolchain: stable
secrets: inherit
cleanup:
needs:
- cargo-test
uses: Cosmian/reusable_workflows/.github/workflows/cleanup_cache.yml@develop
secrets: inherit