From 138ad5d9698f999547f92e991a20916720d4edf6 Mon Sep 17 00:00:00 2001 From: PlexSheep Date: Fri, 16 Feb 2024 16:11:46 +0100 Subject: [PATCH] ci stuff --- .gitea/workflows/cargo.yaml | 8 ++++---- .github/workflows/cargo.yaml | 8 ++++---- scripts/release.sh | 2 +- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.gitea/workflows/cargo.yaml b/.gitea/workflows/cargo.yaml index b4a75df..5d9a9e1 100644 --- a/.gitea/workflows/cargo.yaml +++ b/.gitea/workflows/cargo.yaml @@ -28,10 +28,10 @@ jobs: echo '[registries.cscherr]' >> ~/.cargo/config.toml echo 'index = "https://git.cscherr.de/PlexSheep/_cargo-index.git"' >> ~/.cargo/config.toml cat ~/.cargo/config.toml - - name: cargo check - run: cargo check --all-features --all-targets - - name: cargo fix - run: cargo fix --all-features --all-targets + - name: cargo clippy check + run: cargo clippy --all-features --all-targets + - name: cargo clippy fix + run: cargo clippy --fix --all-features --all-targets - name: cargo fmt run: cargo fmt --all - name: cargo test diff --git a/.github/workflows/cargo.yaml b/.github/workflows/cargo.yaml index ad223f1..0377430 100644 --- a/.github/workflows/cargo.yaml +++ b/.github/workflows/cargo.yaml @@ -29,10 +29,10 @@ jobs: echo '[registries.cscherr]' >> ~/.cargo/config.toml echo 'index = "https://git.cscherr.de/PlexSheep/_cargo-index.git"' >> ~/.cargo/config.toml cat ~/.cargo/config.toml - - name: cargo check - run: cargo check --all-features --all-targets - - name: cargo fix - run: cargo fix --all-features --all-targets + - name: cargo clippy check + run: cargo clippy --all-features --all-targets + - name: cargo clippy fix + run: cargo clippy --fix --all-features --all-targets - name: cargo fmt run: cargo fmt --all - name: cargo test diff --git a/scripts/release.sh b/scripts/release.sh index 943ad51..275ed55 100755 --- a/scripts/release.sh +++ b/scripts/release.sh @@ -7,7 +7,7 @@ BODY=" $(git log $(git describe --tags --abbrev=0)..HEAD --pretty="- %s" --oneline --decorate) " USER=PlexSheep -git tag "v$NEW_VERSION-test" || echo "could not tag" +git tag "v$NEW_VERSION" || echo "could not tag" curl -X 'POST' \ 'https://git.cscherr.de/api/v1/repos/PlexSheep/'$REPO'/releases' \ -H 'accept: application/json' \