Skip to content

build: bump the govuk group with 3 updates #244

build: bump the govuk group with 3 updates

build: bump the govuk group with 3 updates #244

Workflow file for this run

name: Test CI
on:
pull_request:
types:
- opened
- reopened
- synchronize
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
env:
WORKFLOW_OUT_TEST_DIR: ./workflow-out-test-dir
jobs:
test-bump-version-outputs:
name: Test bump-version outputs
runs-on: ubuntu-latest
steps:
- name: Run checkout github action
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: Write bump-version outputs
id: write
uses: ./actions/write-bump-version-outputs
with:
current-version: 1.2.3
new-version: 2.0.0
workflow-out-dir: ${{ env.WORKFLOW_OUT_TEST_DIR }}
- name: Read bump-version outputs
id: read
uses: ./actions/read-bump-version-outputs
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
workflow-out-dir: ${{ env.WORKFLOW_OUT_TEST_DIR }}
workflow-run-id: ${{ github.run_id }}
- name: Check bump-version outputs
env:
CURRENT_VERSION: ${{ steps.read.outputs.current-version }}
NEW_VERSION: ${{ steps.read.outputs.new-version }}
VERSION_BUMPED: ${{ steps.read.outputs.version-bumped }}
run: |
[[ $CURRENT_VERSION == "1.2.3" ]] || exit 1
[[ $NEW_VERSION == "2.0.0" ]] || exit 1
[[ $VERSION_BUMPED == "true" ]] || exit 1
shell: bash