Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ LOPS-1538 ] Cache the terminus directory and only add token if not already logged in #17

Merged
merged 13 commits into from
Mar 21, 2024
Prev Previous commit
Next Next commit
Update actions/checkout version for tests
  • Loading branch information
Kyle Taylor committed Mar 8, 2024
commit e26db6ccbc17a03e677b1860536fa8b190eecad5
6 changes: 2 additions & 4 deletions .github/workflows/test-terminus-version.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: 'Tests: Version'
name: "Tests: Version"

on:
workflow_call:
Expand All @@ -17,9 +17,8 @@ jobs:
runs-on: ubuntu-latest
name: ${{ inputs.terminus-version }}
steps:

- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Setup PHP
uses: shivammathur/setup-php@v2
Expand All @@ -35,4 +34,3 @@ jobs:
run: |
terminus -V --no-ansi
if [[ $(terminus -V --no-ansi) != *"${{ inputs.terminus-version }}" ]]; then exit 1; fi

8 changes: 3 additions & 5 deletions .github/workflows/test-terminus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,15 @@ name: Terminus Github Action Tests
on:
pull_request:
branches:
- main
- main

jobs:
test_terminus:
runs-on: ubuntu-latest
name: Terminus Setup
steps:

- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Setup Terminus
uses: ./
Expand All @@ -27,9 +26,8 @@ jobs:
runs-on: ubuntu-latest
name: Terminus Login
steps:

- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Setup Terminus
uses: ./
Expand Down