Skip to content

Use a docker entrypoint to perform environment setup instead of an action #44

Use a docker entrypoint to perform environment setup instead of an action

Use a docker entrypoint to perform environment setup instead of an action #44

name: Rust
# Trigger the CI on any tags, pushes to any branch and PRs to any branch.
on:
push:
pull_request:
# Make sure there is no pipeline running uselessly.
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}-a # -a should be removed, just for separate workflows in this repository
cancel-in-progress: true
# Environment variables for all jobs.
env:
CARGO_TERM_COLOR: always
# Defined CI jobs.
jobs:
test-rust-workflow:
uses: ./.github/workflows/rust-workflow.yml
with:
ref: ${{ github.ref }}

Check failure on line 22 in .github/workflows/~test-rust-workflow.yml

View workflow run for this annotation

GitHub Actions / Rust

Invalid workflow file

The workflow is not valid. .github/workflows/~test-rust-workflow.yml (Line: 22, Col: 12): Invalid input, ref is not defined in the referenced workflow.
secrets: inherit