Skip to content

Commit

Permalink
ci: switch to cargo install for trunk
Browse files Browse the repository at this point in the history
  • Loading branch information
c-git committed Dec 23, 2024
1 parent ed5bbaa commit 330b142
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/shuttle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ jobs:
- uses: wykies/setup-rust-toolchain@main
- name: Load sqlx query files for shuttle version
run: cargo run --bin switch-db -- --no-edit-only-copy shuttle
- name: Download and install Trunk binary
run: wget -qO- https://github.com/thedodd/trunk/releases/latest/download/trunk-x86_64-unknown-linux-gnu.tar.gz | tar -xzf-
- name: Install Trunk
run: cargo install --locked trunk
- name: Build client
run: ./scripts/build_chat_client.sh
- name: Include git diff for debug
Expand Down
3 changes: 0 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,5 @@ traces/
.shuttle*
Secrets*.toml

# Gets created in CI and causes the shuttle deploy to fail
trunk

# We are using two separate folders for sqlx query files because we have 2 databases supported and files generated need to be moved to one of those
.sqlx/query*.json
Empty file added trunk
Empty file.

0 comments on commit 330b142

Please sign in to comment.