Skip to content

Publish staging CLI on push #371

Publish staging CLI on push

Publish staging CLI on push #371

on: [push]
jobs:
clippy_check_cli:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions-hub/docker/cli@f5fdbfc3f9d2a9265ead8962c1314108a7b7ec5d
env:
SKIP_LOGIN: true
- uses: actions-rs/toolchain@v1
with:
toolchain: nightly-2023-09-13
override: true
components: rustfmt, clippy
- name: Compile project
run: cargo build --all-features -p ev-cage -Z registry-auth
env:
CARGO_REGISTRIES_EVERVAULT_RUST_LIBRARIES_INDEX: ${{ secrets.RUST_CRYPTO_REGISTRY }}
CARGO_REGISTRIES_EVERVAULT_RUST_LIBRARIES_TOKEN: ${{ secrets.CARGO_REGISTRIES_EVERVAULT_RUST_LIBRARIES_TOKEN }}
- name: Test project
run: cargo test -p ev-cage
env:
CARGO_REGISTRIES_EVERVAULT_RUST_LIBRARIES_INDEX: ${{ secrets.RUST_CRYPTO_REGISTRY }}
- name: Format project
run: cargo fmt --check
env:
CARGO_REGISTRIES_EVERVAULT_RUST_LIBRARIES_INDEX: ${{ secrets.RUST_CRYPTO_REGISTRY }}
- name: Lint project
run: cargo clippy
env:
CARGO_REGISTRIES_EVERVAULT_RUST_LIBRARIES_INDEX: ${{ secrets.RUST_CRYPTO_REGISTRY }}
build-and-deploy-staging:
needs: clippy_check_cli
uses: ./.github/workflows/build-and-deploy.yml

Check failure on line 36 in .github/workflows/lint-and-test-cli.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/lint-and-test-cli.yml

Invalid workflow file

error parsing called workflow ".github/workflows/lint-and-test-cli.yml" -> "./.github/workflows/build-and-deploy.yml" (source branch with sha:d92c2e5b2b0fdb4108248f17e44a7c93a8b9fbf0) : You have an error in your yaml syntax on line 70
with:
STAGE: 'staging'
VERSION: '1.0.0'
secrets: inherit