Merge pull request #8 from 1Password/ingrid/contributing-md-fix #36
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: push | |
name: Test installation | |
jobs: | |
use-latest-version: | |
name: "Test getting latest CLI stable version" | |
strategy: | |
matrix: | |
os: [ubuntu-latest, macos-latest] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install 1Password CLI | |
uses: ./ # 1password/install-cli-action@<version> | |
- name: Check CLI version | |
run: ./test/assert-version.sh latest | |
use-latest-beta-version: | |
name: "Test getting latest CLI beta version" | |
strategy: | |
matrix: | |
os: [ubuntu-latest, macos-latest] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install 1Password CLI | |
uses: ./ # 1password/install-cli-action@<version> | |
with: | |
version: latest-beta | |
- name: Check CLI version | |
run: ./test/assert-version.sh latest-beta | |
use-specific-version: | |
name: "Test getting a specific CLI version" | |
strategy: | |
matrix: | |
os: [ubuntu-latest, macos-latest] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install 1Password CLI | |
uses: ./ # 1password/install-cli-action@<version> | |
with: | |
version: 2.18.0 | |
- name: Check CLI version | |
run: ./test/assert-version.sh 2.18.0 | |
use-specific-beta-version: | |
name: "Test getting a specific CLI beta version" | |
strategy: | |
matrix: | |
os: [ubuntu-latest, macos-latest] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install 1Password CLI | |
uses: ./ # 1password/install-cli-action@<version> | |
with: | |
version: 2.19.0-beta.01 | |
- name: Check CLI version | |
run: ./test/assert-version.sh 2.19.0-beta.01 |