Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .github/workflows/package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@ jobs:
- uses: dtolnay/rust-toolchain@stable

- name: Build Server
run: cargo build --package server --release
run: cargo build --package server --release --locked

- name: Build Client
run: cargo build --package client --release --no-default-features
run: cargo build --package client --release --no-default-features --locked

- name: Package Artifacts
run: |
Expand Down Expand Up @@ -55,10 +55,10 @@ jobs:
- uses: dtolnay/rust-toolchain@stable

- name: Build Server
run: cargo build --package server --release
run: cargo build --package server --release --locked

- name: Build Client
run: cargo build --package client --release --no-default-features
run: cargo build --package client --release --no-default-features --locked

- name: Strip
run: |
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ jobs:

- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- run: cargo build --workspace --all-targets
- run: cargo test --workspace
- run: cargo build --workspace --all-targets --locked
- run: cargo test --workspace --locked

lint:
runs-on: ubuntu-latest
Expand All @@ -58,6 +58,6 @@ jobs:
- uses: dtolnay/rust-toolchain@stable
- run: sudo apt update && sudo apt-get -y install protobuf-compiler
- name: Generate Rust code from .proto files
run: cargo run -p gen-protos
run: cargo run -p gen-protos --locked
- name: Check for uncommitted changes
run: git diff --exit-code
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
/target
**/*.rs.bk
Cargo.lock

# IDEA workspace stuff
/*.iml
Expand Down
Loading