Skip to content

nightly

nightly #115

Workflow file for this run

name: nightly
on:
workflow_dispatch:
schedule:
- cron: "0 6 * * *"
permissions:
contents: read
defaults:
run:
shell: bash
jobs:
integration-containerd:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 #v6.0.1
- name: Setup Go
uses: actions/setup-go@7a3fe6cf4cb3a834922a1244abfce67bcef6a0c5 #v6.2.0
with:
go-version-file: ./test/integration/containerd/go.mod
cache-dependency-path: ./test/integration/containerd/go.sum
- name: Run tests
run: INTEGRATION_TEST_STRATEGY="all" go test -race ./...
working-directory: ./test/integration/containerd
integration-kubernetes:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 #v6.0.1
- name: Setup Go
uses: actions/setup-go@7a3fe6cf4cb3a834922a1244abfce67bcef6a0c5 #v6.2.0
with:
go-version-file: ./test/integration/kubernetes/go.mod
cache-dependency-path: ./test/integration/kubernetes/go.sum
- name: Install GoReleaser
uses: goreleaser/goreleaser-action@e435ccd777264be153ace6237001ef4d979d3a7a #v6.4.0
with:
install-only: true
- name: Build image
id: build
run: |
IMG_REF=$(make build-image)
echo "IMG_REF=${IMG_REF}" >> $GITHUB_OUTPUT
- name: Run tests
run: INTEGRATION_TEST_STRATEGY="all" IMG_REF=${{ steps.build.outputs.IMG_REF }} go test -timeout 60m -race ./...
working-directory: ./test/integration/kubernetes