diff --git a/.forgejo/workflows/ci.yml b/.forgejo/workflows/ci.yml index 1597dc6..129fd3e 100644 --- a/.forgejo/workflows/ci.yml +++ b/.forgejo/workflows/ci.yml @@ -5,8 +5,6 @@ on: push: branches: - main - tags: - - "v*" jobs: test: @@ -37,32 +35,3 @@ jobs: - name: Run tests run: cargo test --all-targets - - release: - name: Build release artifact - needs: test - if: startsWith(forgejo.ref, 'refs/tags/v') - runs-on: docker - container: - image: rust:1.97.1-bookworm - - steps: - - name: Install Node.js - run: | - apt-get update - apt-get install --yes curl - curl --fail --silent --show-error --location https://deb.nodesource.com/setup_24.x | bash - - apt-get install --yes nodejs - - - name: Check out source - uses: https://data.forgejo.org/actions/checkout@v6 - - - name: Build Linux binary - run: cargo build --release - - - name: Upload release binary - uses: https://data.forgejo.org/actions/upload-artifact@v4 - with: - name: appa-linux-x86_64 - path: target/release/appa - if-no-files-found: error diff --git a/README.md b/README.md index 8bf5ce7..f45c2e2 100644 --- a/README.md +++ b/README.md @@ -15,8 +15,8 @@ cargo install --path . Or build it without installing: ```sh -cargo build --release -./target/release/appa --help +cargo build +./target/debug/appa --help ``` With Nix: diff --git a/scripts/release-check.sh b/scripts/release-check.sh deleted file mode 100644 index 6b45112..0000000 --- a/scripts/release-check.sh +++ /dev/null @@ -1,10 +0,0 @@ -#!/usr/bin/env bash -set -euo pipefail - -cargo fmt --check -cargo clippy --all-targets -- -D warnings -cargo test --quiet -cargo build --release -nix build .# - -printf 'Release checks passed. Package the binary at target/release/appa with a versioned checksum.\n'