CI: Update publish workflow
This commit is contained in:
parent
dfddbba4ef
commit
cad3213dad
2 changed files with 9 additions and 4 deletions
|
|
@ -10,8 +10,7 @@ jobs:
|
||||||
image: rust:slim
|
image: rust:slim
|
||||||
steps:
|
steps:
|
||||||
- name: Install action dependencies
|
- name: Install action dependencies
|
||||||
run: |
|
run: apt-get install --no-install-recommends --update -y nodejs curl git
|
||||||
apt-get install --no-install-recommends --update -y nodejs curl git
|
|
||||||
|
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: actions/checkout@v6
|
uses: actions/checkout@v6
|
||||||
|
|
@ -22,13 +21,19 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
rustup component add llvm-tools-preview
|
rustup component add llvm-tools-preview
|
||||||
rustup component add --toolchain nightly rustfmt clippy
|
rustup component add --toolchain nightly rustfmt clippy
|
||||||
|
rustup target add x86_64-unknown-linux-gnu
|
||||||
rustup target add x86_64-unknown-linux-musl
|
rustup target add x86_64-unknown-linux-musl
|
||||||
|
|
||||||
- name: Setup additional tooling
|
- name: Setup additional tooling
|
||||||
run: .forgejo/workflows/setup-tools.sh
|
run: .forgejo/workflows/setup-tools.sh
|
||||||
|
|
||||||
|
- name: Setup CI user
|
||||||
|
run: |
|
||||||
|
useradd -m ci && chown -R ci:ci .
|
||||||
|
git config --global --add safe.directory "$PWD"
|
||||||
|
|
||||||
- name: Run all assessments
|
- name: Run all assessments
|
||||||
run: just verify
|
run: just ci verify
|
||||||
|
|
||||||
- name: Build x64 glibc release binary
|
- name: Build x64 glibc release binary
|
||||||
run: just release-build x86_64-unknown-linux-gnu
|
run: just release-build x86_64-unknown-linux-gnu
|
||||||
|
|
|
||||||
|
|
@ -360,7 +360,7 @@ alias sa := security-assess
|
||||||
# Find TODOs
|
# Find TODOs
|
||||||
[group: 'assess']
|
[group: 'assess']
|
||||||
todos-assess:
|
todos-assess:
|
||||||
! rg -M 200 --max-columns-preview TODO src
|
! grep -rn TODO src
|
||||||
|
|
||||||
alias ta := todos-assess
|
alias ta := todos-assess
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue