aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/build.yml')
-rw-r--r--.github/workflows/build.yml15+12 −3
1 files changed, 12 insertions, 3 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index c908213..be7c3ff 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -6,14 +6,20 @@ name: Build
on:
push:
branches: [main]
+ tags: ["v*"]
pull_request:
branches: [main]
permissions:
contents: read
+concurrency:
+ group: hule-build-${{ github.ref }}
+ cancel-in-progress: true
+
env:
CARGO_TERM_COLOR: always
+ RELEASE_TAG: nightly
jobs:
lint:
@@ -28,13 +34,16 @@ jobs:
experimental: true
install: false
- name: Install dependencies
- run: mise bootstrap --locked --yes
+ run: mise bootstrap --locked --yes --update
- uses: Swatinem/rust-cache@779680da715d629ac1d338a641029a2f4372abb5 # v2.8.2
- - name: Check formatting
+ - name: formatting
run: cargo fmt --all --check
- - name: Run Clippy
+ - name: shellcheck
+ run: shellcheck images/*/genimg
+
+ - name: clippy
run: cargo clippy --workspace --all-targets --all-features --release --locked -- -D warnings
build: