Remove Version checking from test step
This commit is contained in:
parent
95268b5020
commit
db0df8f0f0
1 changed files with 0 additions and 10 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue