aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNikolay Govorov <me@govorov.online>2026-03-21 21:17:18 +0000
committerNikolay Govorov <me@govorov.online>2026-03-21 21:17:18 +0000
commit16670925ee33f08928dc19e9b143f221075194a6 (patch)
tree79498b6f0cb3b61341794f03b6d97e5946c299c2
parent1499631a29770ad1119280cecf8ab6ed032eb50c (diff)
downloadtar
tar.gz
tar.bz2
tar.lz
tar.xz
tar.zst
zip
Move system deps from CI to docker image
Diffstat
-rw-r--r--.forgejo/workflows/build.yml31+2 −29
1 files changed, 2 insertions, 29 deletions
diff --git a/.forgejo/workflows/build.yml b/.forgejo/workflows/build.yml
index 9c85c67..a9b3454 100644
--- a/.forgejo/workflows/build.yml
+++ b/.forgejo/workflows/build.yml
@@ -21,18 +21,11 @@ jobs:
steps:
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
- - uses: https://github.com/dtolnay/rust-toolchain@631a55b12751854ce901bb631d5902ceb48146f7 # stable
- with:
- components: clippy,rustfmt
- - uses: https://github.com/Swatinem/rust-cache@779680da715d629ac1d338a641029a2f4372abb5 # v2.8.2
-
- name: Check licenses
- uses: https://github.com/fsfe/reuse-action@676e2d560c9a403aa252096d99fcab3e1132b0f5 # v6.0.0
+ run: reuse lint
- name: Check dependencies
- run: |
- cargo install --locked cargo-deny
- cargo deny check
+ run: cargo deny check
- name: Check formatting
run: cargo fmt --all --check
@@ -55,11 +48,6 @@ jobs:
steps:
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
- - uses: https://github.com/dtolnay/rust-toolchain@631a55b12751854ce901bb631d5902ceb48146f7 # stable
- with:
- components: llvm-tools-preview
- - uses: https://github.com/Swatinem/rust-cache@779680da715d629ac1d338a641029a2f4372abb5 # v2.8.2
-
- name: Import GPG key
uses: https://github.com/crazy-max/ghaction-import-gpg@e89d40939c28e39f97cf32126055eeae86ba74ec #v6.3.0
with:
@@ -69,11 +57,6 @@ jobs:
- run: cargo build --release
- run: cargo test --all-features --release --locked
- - name: Install nfpm
- run: |
- echo 'deb [trusted=yes] https://repo.goreleaser.com/apt/ /' | sudo tee /etc/apt/sources.list.d/goreleaser.list
- sudo apt update && sudo apt install nfpm
-
- name: Build packages
run: |
export SIGNING_PRIVATE_KEY="/tmp/private.asc"
@@ -93,9 +76,6 @@ jobs:
GPG_PRIVATE_KEY: ${{ secrets.GPG_PRIVATE_KEY }}
NFPM_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}
- - name: Install tools
- run: make setup
-
- name: Generate coverage (lcov)
run: cargo llvm-cov --all-features --workspace --lcov --output-path coverage.lcov
@@ -118,9 +98,6 @@ jobs:
steps:
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
- - uses: https://github.com/dtolnay/rust-toolchain@631a55b12751854ce901bb631d5902ceb48146f7 # stable
- - uses: https://github.com/Swatinem/rust-cache@779680da715d629ac1d338a641029a2f4372abb5 # v2.8.2
-
- name: Run smoke tests against local instance
run: ./tests/smoke/run-local.sh
@@ -133,10 +110,6 @@ jobs:
contents: write
steps:
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
- - name: Install tools
- run: |
- sudo apt-get update
- sudo apt-get install -y aptly rclone createrepo-c
- uses: https://code.forgejo.org/forgejo/download-artifact@1314311ddb542af343a82d478ac786ceada4143a # v5
with: