Skip to content

Bump minimist from 1.2.5 to 1.2.8 #38

Bump minimist from 1.2.5 to 1.2.8

Bump minimist from 1.2.5 to 1.2.8 #38

Workflow file for this run

name: Tests
on:
push:
branches:
- main
pull_request:
defaults:
run:
shell: bash
jobs:
test:
name: Test
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [macos-latest, windows-latest, ubuntu-latest]
version: [1.1.0, 1.0.0]
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup gh
uses: ./
with:
version: ${{ matrix.version }}
- name: Capture gh version installed
run: |
export GH_VERSION=$( gh --version )
echo 'GH_VERSION_INSTALLED<<EOF' >> $GITHUB_ENV
gh --version >> $GITHUB_ENV
echo 'EOF' >> $GITHUB_ENV
- name: Verify
shell: python
env:
GH_VERSION_EXPECTED: ${{ matrix.version }}
run: |
import sys, os
sys.exit(
int(not os.environ["GH_VERSION_EXPECTED"] in os.environ["GH_VERSION_INSTALLED"])
)