Skip to content

2.0.1: Fix has_attribute (#44) #34

2.0.1: Fix has_attribute (#44)

2.0.1: Fix has_attribute (#44) #34

Workflow file for this run

name: Rust Continuous Integration
on:
workflow_dispatch:
push:
branches:
- "main"
paths:
- "**.rs"
- "Cargo.lock"
- "Cargo.toml"
pull_request:
paths:
- "**.rs"
- "Cargo.lock"
- "Cargo.toml"
env:
CARGO_TERM_COLOR: always
CARGO_REGISTRIES_CRATES_IO_PROTOCOL: sparse
CARGO_INCREMENTAL: true
concurrency:
group: CI-${{ github.ref }}
cancel-in-progress: true
jobs:
test:

Check failure on line 26 in .github/workflows/CI.yml

View workflow run for this annotation

GitHub Actions / Rust Continuous Integration

Invalid workflow file

The workflow is not valid. .github/workflows/CI.yml (Line: 26, Col: 3): The workflow must contain at least one job with no dependencies.
name: test
needs: [build]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3.3.0
- uses: rui314/setup-mold@v1
- uses: actions-rs/toolchain@v1.0.7
with:
profile: minimal
toolchain: stable
override: true
- uses: actions/cache@v3.2.4
with:
path: |
./.cargo/.build
./target
~/.cargo
key: ${{ runner.os }}-cargo-dev-${{ hashFiles('**/Cargo.lock') }}
- run: bash test/test_all.sh
- run: git diff --exit-code --quiet || exit 1