Skip to content

ci(rust-workflow): Bump publish workflow version #65

ci(rust-workflow): Bump publish workflow version

ci(rust-workflow): Bump publish workflow version #65

Workflow file for this run

name: Rust
# Trigger the CI on any tags, pushes to any branch and PRs to any branch.
on:
push:
branches: [ "main" ]
tags: [ "*" ]
pull_request:
branches: [ "*" ]
# Make sure there is no pipeline running uselessly.
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
# Environment variables for all jobs.
env:
CARGO_TERM_COLOR: always
# Defined CI jobs.
jobs:
check:
uses: famedly/backend-build-workflows/.github/workflows/rust-workflow.yml@main
secrets: inherit
with:
clippy_args: '--all-features'
test_args: '--all-features'
testcov_args: '--all-features'
publish:
needs: check
uses: famedly/backend-build-workflows/.github/workflows/publish-crate.yml@9137c4552e8d0e0eecb1601a7a8f965610b12647
with:
registry-name: "crates-io"
registry-index: "https://github.com/rust-lang/crates.io-index"
secrets:
CI_SSH_PRIVATE_KEY: ${{ secrets.CI_SSH_PRIVATE_KEY }}
registry-auth-token: ${{ secrets.CRATES_IO_TOKEN }}