Skip to content

Commit

Permalink
added cargo deny
Browse files Browse the repository at this point in the history
  • Loading branch information
TheButlah committed Jun 22, 2024
1 parent 884b3ab commit 38e722d
Show file tree
Hide file tree
Showing 3 changed files with 1,120 additions and 952 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


Loading

0 comments on commit 38e722d

Please sign in to comment.