Skip to content

Bump actions/checkout from 4.1.2 to 4.1.5 (#384) #80

Bump actions/checkout from 4.1.2 to 4.1.5 (#384)

Bump actions/checkout from 4.1.2 to 4.1.5 (#384) #80

Workflow file for this run

name: E2E Tests
on:
push:
branches:
- 'master'
paths:
- 'api/**'
- 'herokux/**'
- '.github/workflows/e2e.yml'
env:
GO111MODULE: on
jobs:
test:
strategy:
matrix:
go-version: [1.21.x]
platform: [ ubuntu-latest ]
runs-on: ${{ matrix.platform }}
steps:
- uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go-version }}
- uses: actions/checkout@v4.1.5
- name: Cache go modules
uses: actions/cache@v4.0.2
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'