Skip to content
Snippets Groups Projects
Unverified Commit a986da2d authored by Lulu's avatar Lulu Committed by GitHub
Browse files

Run semver check even when no prdoc (#5189)


Co-authored-by: default avatarOliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
parent cd1a29f7
Branches
No related merge requests found
Pipeline #487865 waiting for manual action with stages
in 16 minutes and 14 seconds
......@@ -3,8 +3,6 @@ name: Check semver
on:
pull_request:
types: [opened, synchronize, reopened, ready_for_review]
paths:
- prdoc/*.prdoc
workflow_dispatch:
concurrency:
......@@ -24,10 +22,12 @@ jobs:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- name: extra git setup
env:
BASE: ${{ github.event.pull_request.base.sha }}
run: |
git config --global --add safe.directory '*'
git fetch --no-tags --no-recurse-submodules --depth=1 origin master
git branch old origin/master
git fetch --no-tags --no-recurse-submodules --depth=1 origin $BASE
git branch old $BASE
- name: Comment If Backport
if: ${{ startsWith(github.event.pull_request.base.ref, 'stable') }}
......@@ -74,7 +74,7 @@ jobs:
- name: install parity-publish
# Set the target dir to cache the build.
run: CARGO_TARGET_DIR=./target/ cargo install parity-publish -q
run: CARGO_TARGET_DIR=./target/ cargo install parity-publish@0.8.0 -q
- name: check semver
run: |
......
......@@ -20,7 +20,7 @@ jobs:
cache-on-failure: true
- name: install parity-publish
run: cargo install parity-publish@0.7.0
run: cargo install parity-publish@0.8.0
- name: parity-publish check
run: parity-publish --color always check --allow-unpublished
......@@ -18,7 +18,7 @@ jobs:
cache-on-failure: true
- name: install parity-publish
run: cargo install parity-publish@0.7.0
run: cargo install parity-publish@0.8.0
- name: parity-publish claim
env:
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment