Skip to content

Commit

Permalink
added cargo deny to ci
Browse files Browse the repository at this point in the history
  • Loading branch information
TheButlah committed Jun 22, 2024
1 parent 2a022f8 commit 6f2062a
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
name: Check Formatting
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Cache cargo dependencies
uses: Swatinem/rust-cache@v2

Expand All @@ -22,7 +22,7 @@ jobs:
name: Lint and Build
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Install bevy dependencies
run: |
sudo apt-get update && sudo apt-get install -y \
Expand All @@ -40,7 +40,7 @@ jobs:
name: Run Tests
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Install bevy dependencies
run: |
sudo apt-get update && sudo apt-get install -y \
Expand All @@ -52,10 +52,17 @@ jobs:
run: xvfb-run cargo test --all --all-features --all-targets

- name: Upload screenshots to artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
path: "**/tests/screnshots"
name: screenshots
retention-days: 1

deny:
name: Run cargo deny
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- uses: EmbarkStudios/cargo-deny-action@v1


0 comments on commit 6f2062a

Please sign in to comment.