Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CI: add a cargo deny job #1576

Merged
merged 2 commits into from
Jan 31, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 10 additions & 4 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ name: CI
jobs:
check:
name: Build
runs-on: ubuntu-22.04
runs-on: ubuntu-latest
container:
image: ghcr.io/gtk-rs/gtk4-rs/gtk4:latest
strategy:
Expand Down Expand Up @@ -83,7 +83,7 @@ jobs:

examples:
name: examples
runs-on: ubuntu-22.04
runs-on: ubuntu-latest
container:
image: ghcr.io/gtk-rs/gtk4-rs/gtk4:latest
steps:
Expand All @@ -101,7 +101,7 @@ jobs:

fmt:
name: rustfmt
runs-on: ubuntu-22.04
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions-rs/toolchain@v1
Expand All @@ -115,6 +115,12 @@ jobs:
command: fmt
args: --all -- --check

cargo-deny:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: EmbarkStudios/cargo-deny-action@v1

regen_check:
name: regen checker
runs-on: ubuntu-latest
Expand Down Expand Up @@ -153,7 +159,7 @@ jobs:

checker:
name: gtk-rs checker
runs-on: ubuntu-22.04
runs-on: ubuntu-latest
strategy:
matrix:
crate:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/book-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:

jobs:
deploy:
runs-on: ubuntu-22.04
runs-on: ubuntu-latest
name: build
steps:
- uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/book-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:

jobs:
check:
runs-on: ubuntu-22.04
runs-on: ubuntu-latest
name: build
steps:
- uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ on:

jobs:
build-deploy:
runs-on: ubuntu-22.04
runs-on: ubuntu-latest
name: build
container:
image: ghcr.io/gtk-rs/gtk4-rs/gtk4:latest
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/listings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ on:

jobs:
test:
runs-on: ubuntu-22.04
runs-on: ubuntu-latest
name: listings build
container:
image: ghcr.io/gtk-rs/gtk4-rs/gtk4:latest
Expand Down
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ config.status
*.so
*.o
*.swp
Cargo.lock
book/book
.vscode
*.log
Expand Down
Loading
Loading