Skip to content

build(deps-dev): bump @types/node from 22.7.7 to 22.9.0 #140

build(deps-dev): bump @types/node from 22.7.7 to 22.9.0

build(deps-dev): bump @types/node from 22.7.7 to 22.9.0 #140

---
name: "GitHub Action: Self-Test"
on:
push:
env:
PRODUCT_VERSION: "0.16.0"
jobs:
setup-boundary:
name: Test `setup-boundary`
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
- name: Setup `boundary` (using local GitHub Action)
uses: "./"
id: setup
with:
version: ${{ env.PRODUCT_VERSION }}
- name: Print `$PATH` for `boundary`
run: which boundary
- name: Print `boundary` version
run: boundary version
- name: Validate `boundary` version is accurate
run: "boundary version | grep --silent ' Version Number: ${{ env.PRODUCT_VERSION }}'"
- name: Setup `boundary` with an invalid version (using local GitHub Action)
uses: "./"
id: invalid_version
with:
version: "invalid_version"
continue-on-error: true
- name: Validate invalid version failed
if: steps.invalid_version.outcome == 'success'
run: echo "Installing an invalid version expected to fail but did not" && exit 1
- name: Setup `boundary` with `latest` version (using local GitHub Action)
uses: "./"
id: latest_version
- name: Print `boundary` version
run: boundary version