Skip to content

Commit

Permalink
scripts dir
Browse files Browse the repository at this point in the history
  • Loading branch information
bekauz committed Aug 20, 2023
1 parent ec2b519 commit d051ff4
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 3 deletions.
20 changes: 19 additions & 1 deletion .github/workflows/basic.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,4 +55,22 @@ jobs:
uses: actions-rs/cargo@v1
with:
command: clippy
args: --all-targets -- -D warnings
args: --all-targets -- -D warnings

schema:
name: Schema
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v2

- name: Install stable toolchain
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: 1.66.0
override: true
components: rustfmt, clippy

- name: Gen schemas
run: ./scripts/schema.sh
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions stride-covenant/justfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build:
gen: build gen-schema

gen-schema:
./schema.sh
./../scripts/schema.sh

test:
cargo test
Expand All @@ -13,7 +13,7 @@ lint:
cargo +nightly clippy --all-targets -- -D warnings && cargo +nightly fmt --all --check

optimize:
./optimize.sh
./../scripts/optimize.sh

simtest: optimize
if [[ $(uname -m) =~ "arm64" ]]; then \
Expand Down

0 comments on commit d051ff4

Please sign in to comment.