From db0df8f0f0a0a6b0796e4730581a0919d716e2ed Mon Sep 17 00:00:00 2001 From: Neshura Date: Fri, 29 Dec 2023 01:20:32 +0100 Subject: [PATCH] Remove Version checking from test step --- .forgejo/workflows/pull-requests.yml | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/.forgejo/workflows/pull-requests.yml b/.forgejo/workflows/pull-requests.yml index 11d4921..2e53c8e 100644 --- a/.forgejo/workflows/pull-requests.yml +++ b/.forgejo/workflows/pull-requests.yml @@ -31,16 +31,6 @@ jobs: - name: Run Clippy run: cargo clippy - - - name: Check if Version in Cargo.toml matches Tag - run: | - VERSION=$(cat Cargo.toml | grep -E "(^|\|)version =" | cut -f2- -d= | tr -d \" | tr -d " ") - if test $VERSION != "${{ github.ref_name }}"; then - echo "Expected Version is: '${{ github.ref_name }}' actual Version is: '$VERSION'"; - exit 1 - else - echo "Version is: '$VERSION'"; - fi build: needs: test