Skip to content

fix: Disable tracing by default for crates that cause stack overflows on exit #127

fix: Disable tracing by default for crates that cause stack overflows on exit

fix: Disable tracing by default for crates that cause stack overflows on exit #127

Workflow file for this run

# SPDX-FileCopyrightText: 2025 Famedly GmbH (info@famedly.com)
#
# SPDX-License-Identifier: Apache-2.0
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:
compliance:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: REUSE Compliance Check
uses: fsfe/reuse-action@6ac5c823270d369f01e3c491c708f706f2bdc355
- name: Dependency license check
uses: EmbarkStudios/cargo-deny-action@a531616d8ce3b9177443e48a1159bc945a099823
with:
command: check bans licenses sources
rust:
needs: compliance
uses: famedly/backend-build-workflows/.github/workflows/rust-workflow.yml@fcc2ec82a725d5c4c9c6a8f19e8df101c178dcb6
secrets: inherit
with:
clippy_args: '--all-features'
test_args: '--all-features'
testcov_args: '--all-features'
ref: v2
publish:
needs: rust
uses: famedly/backend-build-workflows/.github/workflows/publish-crate.yml@fcc2ec82a725d5c4c9c6a8f19e8df101c178dcb6
with:
registry-name: "crates-io"

Check failure on line 50 in .github/workflows/rust-workflow.yml

View workflow run for this annotation

GitHub Actions / Rust

Invalid workflow file

The workflow is not valid. .github/workflows/rust-workflow.yml (Line: 50, Col: 22): Invalid input, registry-name is not defined in the referenced workflow. .github/workflows/rust-workflow.yml (Line: 51, Col: 23): Invalid input, registry-index is not defined in the referenced workflow.
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 }}