Run check on pull-requests #33

Merged
Neshura merged 2 commits from pull_request_checking into main 2023-12-29 00:27:46 +00:00
Showing only changes of commit db0df8f0f0 - Show all commits

View file

@ -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