Initial commit #1
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: Build Pipeline | ||
on: | ||
push: | ||
branches: | ||
- main | ||
paths-ignore: | ||
- "README.md" | ||
pull_request: | ||
branches: | ||
- main | ||
paths-ignore: | ||
- "README.md" | ||
concurrency: | ||
group: "${{ github.workflow }} @ ${{ github.head_ref || github.ref }}" | ||
cancel-in-progress: true | ||
env: | ||
RUST_VERSION: 1.81.0 | ||
CARGO_TERM_COLOR: always | ||
jobs: | ||
format-and-clippy: | ||
Check failure on line 24 in .github/workflows/ci.yaml GitHub Actions / Build PipelineInvalid workflow file
|
||
uses: ./.github/workflows/format-workflow.yaml | ||
secrets: inherit | ||
build: | ||
runs-on: ubuntu-latest | ||
needs: [format-and-clippy] | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: actions-rust-lang/setup-rust-toolchain@v1 | ||
with: | ||
components: rustfmt, clippy | ||
toolchain: ${{ env.RUST_VERSION }} | ||
- name: Build | ||
run: cargo build --verbose |