Skip to content

Commit

Permalink
Fix git workflow configs
Browse files Browse the repository at this point in the history
  • Loading branch information
SebastienGllmt committed Dec 26, 2023
1 parent 679c4de commit 889eb0c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 12 deletions.
12 changes: 4 additions & 8 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,28 +24,24 @@ jobs:

- name: "Format check"
uses: actions-rs/cargo@v1
working-directory: ./cardano
with:
command: fmt
args: -- --check
args: -- --check --manifest-path ./cardano/Cargo.toml --all

- name: "Linter checks"
uses: actions-rs/cargo@v1
working-directory: ./cardano
with:
command: clippy
args: --all-features --all-targets -- --deny "clippy::all"
args: --all-features --all-targets --manifest-path ./cardano/Cargo.toml -- --deny "clippy::all"

- name: "Check"
uses: actions-rs/cargo@v1
working-directory: ./cardano
with:
command: check
args: --all-features --all-targets
args: --all-features --all-targets --manifest-path ./cardano/Cargo.toml

- name: "Test"
uses: actions-rs/cargo@v1
working-directory: ./cardano
with:
command: test
args: --all-features --all-targets
args: --all-features --all-targets --manifest-path ./cardano/Cargo.toml
7 changes: 3 additions & 4 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,9 @@ jobs:
- uses: actions/checkout@v3

- uses: aiken-lang/[email protected]
working-directory: ./cardano
with:
version: v1.0.19-alpha

- run: aiken fmt --check
- run: aiken check
- run: aiken build
- run: aiken fmt ./cardano --check
- run: aiken check ./cardano
- run: aiken build ./cardano

0 comments on commit 889eb0c

Please sign in to comment.