Remove Version checking from test step
Some checks failed
Run Tests on Code / run-tests (push) Successful in 11s
Build binary file and bundle packages / test (pull_request) Successful in 11s
Build binary file and bundle packages / build (pull_request) Failing after 28s

This commit is contained in:
Neshura 2023-12-29 01:20:32 +01:00
parent 95268b5020
commit db0df8f0f0
Signed by: Neshura
GPG key ID: B6983AAA6B9A7A6C

View file

@ -31,16 +31,6 @@ jobs:
- -
name: Run Clippy name: Run Clippy
run: cargo 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: build:
needs: test needs: test