Skip to content

Commit

Permalink
Convert scripts into bash
Browse files Browse the repository at this point in the history
This improves iteration times and CI times
  • Loading branch information
igncp committed Nov 5, 2023
1 parent 474de4a commit 6f87a7b
Show file tree
Hide file tree
Showing 24 changed files with 718 additions and 986 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,6 @@ jobs:
- name: Run checks
run: |
touch ./scripts/nix/without-android
touch ./scripts/nix/is-checks-ci
nix develop path:$(pwd) -c rustup install stable
nix develop path:$(pwd) -c cargo run --bin scripts --release -- check
nix develop path:$(pwd) -c bash -c 'cd scripts && bash src/main.sh check'
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,4 @@ jobs:
NEXT_PUBLIC_GITHUB_CLIENT_ID: 5b79179dd44f90e1a63a
NEXT_PUBLIC_SERVICE_URL: https://mahjong-rust.com/api
run: |
nix develop path:$(pwd) -c cargo run --release -p scripts docker
nix develop path:$(pwd) -c bash -c 'cd scripts && bash src/main.sh docker'
Loading

0 comments on commit 6f87a7b

Please sign in to comment.