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
|
- name: Checkout code
|
||||||
uses: actions/checkout@v6
|
uses: actions/checkout@v6
|
||||||
|
with:
|
||||||
|
fetch-tags: true
|
||||||
|
|
||||||
- name: Setup Rust toolchain
|
- name: Setup Rust toolchain
|
||||||
run: |
|
run: |
|
||||||
|
|
|
||||||
|
|
@ -15,6 +15,8 @@ jobs:
|
||||||
|
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: actions/checkout@v6
|
uses: actions/checkout@v6
|
||||||
|
with:
|
||||||
|
fetch-tags: true
|
||||||
|
|
||||||
- name: Setup Rust toolchain
|
- name: Setup Rust toolchain
|
||||||
run: |
|
run: |
|
||||||
|
|
|
||||||
|
|
@ -300,14 +300,14 @@ alias cl := clean
|
||||||
# Build project with Cargo
|
# Build project with Cargo
|
||||||
[group: 'build']
|
[group: 'build']
|
||||||
build: update
|
build: update
|
||||||
cargo build
|
cargo build --locked
|
||||||
|
|
||||||
alias b := build
|
alias b := build
|
||||||
|
|
||||||
# Release build
|
# Release build
|
||||||
[group: 'build']
|
[group: 'build']
|
||||||
release-build: update verify
|
release-build: update verify
|
||||||
cargo build --release
|
cargo build --locked --release
|
||||||
|
|
||||||
alias rb := release-build
|
alias rb := release-build
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue