An experimental, status effects-as-entities system for Bevy.
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge pull request #1 from AlephCubed/fix-ci

Replace CI workflow with template one.

authored by

Josiah Nelson and committed by
GitHub
396c455b 1cd3c487

+78 -24
+78
.github/workflows/ci.yml
··· 1 + name: CI 2 + 3 + on: 4 + push: 5 + branches: [main] 6 + pull_request: 7 + branches: [main] 8 + 9 + env: 10 + CARGO_TERM_COLOR: always 11 + 12 + jobs: 13 + # Run cargo test 14 + test: 15 + name: Test Suite 16 + runs-on: ubuntu-latest 17 + timeout-minutes: 30 18 + steps: 19 + - name: Checkout sources 20 + uses: actions/checkout@v4 21 + - name: Cache 22 + uses: actions/cache@v4 23 + with: 24 + path: | 25 + ~/.cargo/bin/ 26 + ~/.cargo/registry/index/ 27 + ~/.cargo/registry/cache/ 28 + ~/.cargo/git/db/ 29 + target/ 30 + key: ${{ runner.os }}-cargo-test-${{ hashFiles('**/Cargo.toml') }} 31 + - name: Install stable toolchain 32 + uses: dtolnay/rust-toolchain@stable 33 + - name: Install Dependencies 34 + run: sudo apt-get update; sudo apt-get install --no-install-recommends libasound2-dev libudev-dev libwayland-dev 35 + - name: Run cargo test 36 + run: cargo test 37 + 38 + # Run cargo clippy -- -D warnings 39 + clippy_check: 40 + name: Clippy 41 + runs-on: ubuntu-latest 42 + timeout-minutes: 30 43 + steps: 44 + - name: Checkout sources 45 + uses: actions/checkout@v4 46 + - name: Cache 47 + uses: actions/cache@v4 48 + with: 49 + path: | 50 + ~/.cargo/bin/ 51 + ~/.cargo/registry/index/ 52 + ~/.cargo/registry/cache/ 53 + ~/.cargo/git/db/ 54 + target/ 55 + key: ${{ runner.os }}-cargo-clippy-${{ hashFiles('**/Cargo.toml') }} 56 + - name: Install stable toolchain 57 + uses: dtolnay/rust-toolchain@stable 58 + with: 59 + components: clippy 60 + - name: Install Dependencies 61 + run: sudo apt-get update; sudo apt-get install --no-install-recommends libasound2-dev libudev-dev libwayland-dev 62 + - name: Run clippy 63 + run: cargo clippy -- -D warnings 64 + 65 + # Run cargo fmt --all -- --check 66 + format: 67 + name: Format 68 + runs-on: ubuntu-latest 69 + timeout-minutes: 30 70 + steps: 71 + - name: Checkout sources 72 + uses: actions/checkout@v4 73 + - name: Install stable toolchain 74 + uses: dtolnay/rust-toolchain@stable 75 + with: 76 + components: rustfmt 77 + - name: Run cargo fmt 78 + run: cargo fmt --all -- --check
-24
.github/workflows/rust.yml
··· 1 - name: Rust 2 - 3 - on: 4 - push: 5 - branches: [ "master" ] 6 - pull_request: 7 - branches: [ "master" ] 8 - 9 - env: 10 - CARGO_TERM_COLOR: always 11 - 12 - jobs: 13 - build: 14 - 15 - runs-on: ubuntu-latest 16 - 17 - steps: 18 - - uses: actions/checkout@v4 19 - - name: Test 20 - run: cargo test --verbose 21 - - name: Test with features 22 - run: cargo test --all-features --verbose 23 - - name: Check format 24 - run: cargo fmt --check