CI: Also checkout tags, add --locked to cargo builds
Some checks are pending
/ verify (push) Waiting to run
Some checks are pending
/ verify (push) Waiting to run
This commit is contained in:
parent
75b7cbef80
commit
c0dc8f9b6e
3 changed files with 6 additions and 2 deletions
|
|
@ -21,6 +21,8 @@ jobs:
|
|||
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v6
|
||||
with:
|
||||
fetch-tags: true
|
||||
|
||||
- name: Setup Rust toolchain
|
||||
run: |
|
||||
|
|
|
|||
|
|
@ -15,6 +15,8 @@ jobs:
|
|||
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v6
|
||||
with:
|
||||
fetch-tags: true
|
||||
|
||||
- name: Setup Rust toolchain
|
||||
run: |
|
||||
|
|
|
|||
|
|
@ -300,14 +300,14 @@ alias cl := clean
|
|||
# Build project with Cargo
|
||||
[group: 'build']
|
||||
build: update
|
||||
cargo build
|
||||
cargo build --locked
|
||||
|
||||
alias b := build
|
||||
|
||||
# Release build
|
||||
[group: 'build']
|
||||
release-build: update verify
|
||||
cargo build --release
|
||||
cargo build --locked --release
|
||||
|
||||
alias rb := release-build
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue