Skip to content

Commit

Permalink
Test CI
Browse files Browse the repository at this point in the history
  • Loading branch information
adamchalmers committed Jul 18, 2023
1 parent 55609db commit b1afbed
Show file tree
Hide file tree
Showing 5 changed files with 56 additions and 56 deletions.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -3,23 +3,23 @@ on:
branches:
- main
paths:
- '**.rs'
- .github/workflows/cargo-clippy.yml
- Cargo.lock
- Cargo.toml
- rust-toolchain
- rust-toolchain.toml
- 'compiler/**.rs'
- compiler/.github/workflows/cargo-clippy.yml
- compiler/Cargo.lock
- compiler/Cargo.toml
- compiler/rust-toolchain
- compiler/rust-toolchain.toml
pull_request:
paths:
- '**.rs'
- .github/workflows/cargo-clippy.yml
- Cargo.lock
- Cargo.toml
- rust-toolchain
- rust-toolchain.toml
- 'compiler/**.rs'
- compiler/.github/workflows/cargo-clippy.yml
- compiler/Cargo.lock
- compiler/Cargo.toml
- compiler/rust-toolchain
- compiler/rust-toolchain.toml
name: cargo clippy
jobs:
cargoclippy:
compiler-cargoclippy:
name: cargo clippy --tests --benches --examples
runs-on: ubuntu-latest
steps:
Expand Down
32 changes: 32 additions & 0 deletions .github/workflows/cargo-deny.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
on:
push:
branches:
- main
paths:
- 'compiler/**.rs'
- compiler/.github/workflows/cargo-deny.yml
- compiler/Cargo.lock
- compiler/Cargo.toml
- compiler/rust-toolchain.toml
pull_request:
paths:
- 'compiler/**.rs'
- compiler/.github/workflows/cargo-deny.yml
- compiler/Cargo.lock
- compiler/Cargo.toml
- compiler/rust-toolchain.toml
workflow_dispatch:
permissions: read-all
name: cargo deny
jobs:
compiler-cargodeny:
name: cargo deny
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- uses: EmbarkStudios/cargo-deny-action@v1
with:
log-level: warn
command: check bans licenses sources
arguments: --all-features
Original file line number Diff line number Diff line change
Expand Up @@ -3,23 +3,23 @@ on:
branches:
- main
paths:
- '**.rs'
- .github/workflows/cargo-test.yml
- Cargo.lock
- Cargo.toml
- rust-toolchain.toml
- 'compiler/**.rs'
- compiler/.github/workflows/cargo-test.yml
- compiler/Cargo.lock
- compiler/Cargo.toml
- compiler/rust-toolchain.toml
pull_request:
paths:
- '**.rs'
- .github/workflows/cargo-test.yml
- Cargo.lock
- Cargo.toml
- rust-toolchain.toml
- 'compiler/**.rs'
- compiler/.github/workflows/cargo-test.yml
- compiler/Cargo.lock
- compiler/Cargo.toml
- compiler/rust-toolchain.toml
workflow_dispatch:
permissions: read-all
name: cargo test
jobs:
cargotest:
compiler-cargotest:
name: cargo test
runs-on: ubuntu-latest
steps:
Expand Down
32 changes: 0 additions & 32 deletions compiler/.github/workflows/cargo-deny.yml

This file was deleted.

0 comments on commit b1afbed

Please sign in to comment.