Skip to content

Builder - Integration tests #58

Builder - Integration tests

Builder - Integration tests #58

name: Builder - Integration tests
on:
# on changes to the main branch touching the builder
push:
branches: [main]
# on PRs touching the builder
pull_request:
branches: [main]
# once a day at 6:17 AM UTC
schedule:
- cron: "17 6 * * *"
# manual execution
workflow_dispatch:
merge_group:
types: [checks_requested]
concurrency:
group: ${{ github.workflow }}-${{ github.ref_name }}
cancel-in-progress: true
permissions: read-all
jobs:
integration-test:
name: Integration test
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
- name: Setup Go
uses: actions/setup-go@44694675825211faa026b3c33043df3e48a5fa00 # v6.0.0
with:
go-version: oldstable
cache: false
- name: Cache Go
id: go-cache
uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
with:
path: |
~/go/bin
~/go/pkg/mod
key: go-cache-${{ runner.os }}-${{ runner.arch }}-${{ hashFiles('**/go.sum') }}
- name: Test
run: make builder-integration-test