Use a docker entrypoint to perform environment setup instead of an action #44
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 GitHub Actions / RustInvalid workflow file
|
||
secrets: inherit |