Skip to content

Commit

Permalink
yes?
Browse files Browse the repository at this point in the history
  • Loading branch information
MisterSquishy committed Feb 22, 2024
1 parent 14d7e89 commit f1b2f14
Showing 1 changed file with 21 additions and 1 deletion.
22 changes: 21 additions & 1 deletion .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -140,4 +140,24 @@ jobs:
run: make

- name: Run Unit Tests
run: make acc-test
run: make acc-test
version_check:

name: Check version availability
runs-on: ubuntu-latest
permissions:
contents: read

steps:
- uses: actions/checkout@v3
with:
token: ${{ secrets.GITHUB_TOKEN }}
persist-credentials: false

- name: Check version availability
run: |
VERSION_TAG=$(cat .go-version)
if [ $(git tag -l "$VERSION_TAG") ]; then
echo "Version tag $VERSION_TAG already exists, please update .go-version with the version you intend to publish"
exit 1
fi

0 comments on commit f1b2f14

Please sign in to comment.