Bump actions/cache from 4.0.1 to 4.0.2 (#373) #77
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
name: E2E Tests | |
on: | |
push: | |
branches: | |
- 'master' | |
paths: | |
- 'api/**' | |
- 'herokux/**' | |
- '.github/workflows/e2e.yml' | |
env: | |
GO111MODULE: on | |
jobs: | |
test: | |
strategy: | |
matrix: | |
go-version: [1.20.x] | |
platform: [ ubuntu-latest ] | |
runs-on: ${{ matrix.platform }} | |
steps: | |
- uses: actions/setup-go@v5 | |
with: | |
go-version: ${{ matrix.go-version }} | |
- uses: actions/[email protected] | |
- name: Cache go modules | |
uses: actions/[email protected] | |
with: | |
path: ~/go/pkg/mod | |
key: ${{ runner.os }}-go-${{ hashFiles('go.sum') }} | |
restore-keys: ${{ runner.os }}-go- | |
- name: Run make build | |
run: make build | |
- name: Execute E2E tests | |
if: github.event_name == 'push' && contains(github.ref, 'master') | |
env: | |
HEROKU_API_KEY: ${{ secrets.HEROKU_API_KEY }} | |
HEROKUX_ORGANIZATION: ${{ secrets.HEROKUX_ORGANIZATION }} | |
HEROKUX_RUN_E2E_TESTS: true | |
run: make testacc TEST="./herokux/" TESTARGS='-run=TestAccE2E' |