Skip to content

Commit

Permalink
gh: Changed workflow schedule
Browse files Browse the repository at this point in the history
  • Loading branch information
willguibr committed Apr 29, 2024
1 parent 8e413fc commit 1dd0231
Showing 1 changed file with 69 additions and 9 deletions.
78 changes: 69 additions & 9 deletions .github/workflows/zpa-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ on:
# change.

schedule:
- cron: '0 13 * * 1-5' # UTC
- cron: '0 12 * * 1-5' # UTC
workflow_dispatch:

jobs:
Expand All @@ -26,13 +26,28 @@ jobs:
- ZPA_QA_TENANT02
environment: ${{ matrix.environment }}
steps:
- name: Checkout
- name: Checkout code
uses: actions/checkout@v4
with:
token: ${{ secrets.GITHUB_TOKEN }}

- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: "1.21"
go-version: ${{ matrix.goVersion }}

- name: Clean existing Go modules
run: go clean -modcache

- name: Cache Go modules
uses: actions/cache@v4
with:
path: |
~/go/pkg/mod
~/.cache/go-build
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
- name: Setup Go Tools
run: make tools
Expand Down Expand Up @@ -84,13 +99,28 @@ jobs:
# - ZPA_QA2_TENANT02
environment: ${{ matrix.environment }}
steps:
- name: Checkout
- name: Checkout code
uses: actions/checkout@v4
with:
token: ${{ secrets.GITHUB_TOKEN }}

- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: "1.21"
go-version: ${{ matrix.goVersion }}

- name: Clean existing Go modules
run: go clean -modcache

- name: Cache Go modules
uses: actions/cache@v4
with:
path: |
~/go/pkg/mod
~/.cache/go-build
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
- name: Setup Go Tools
run: make tools
Expand Down Expand Up @@ -141,13 +171,28 @@ jobs:
- ZPA_BETA_TENANT01
environment: ${{ matrix.environment }}
steps:
- name: Checkout
- name: Checkout code
uses: actions/checkout@v4
with:
token: ${{ secrets.GITHUB_TOKEN }}

- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: "1.21"
go-version: ${{ matrix.goVersion }}

- name: Clean existing Go modules
run: go clean -modcache

- name: Cache Go modules
uses: actions/cache@v4
with:
path: |
~/go/pkg/mod
~/.cache/go-build
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
- name: Setup Go Tools
run: make tools
Expand Down Expand Up @@ -201,13 +246,28 @@ jobs:
- ZPA_PROD_TENANT01
environment: ${{ matrix.environment }}
steps:
- name: Checkout
- name: Checkout code
uses: actions/checkout@v4
with:
token: ${{ secrets.GITHUB_TOKEN }}

- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: "1.21"
go-version: ${{ matrix.goVersion }}

- name: Clean existing Go modules
run: go clean -modcache

- name: Cache Go modules
uses: actions/cache@v4
with:
path: |
~/go/pkg/mod
~/.cache/go-build
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
- name: Setup Go Tools
run: make tools
Expand Down

0 comments on commit 1dd0231

Please sign in to comment.