Skip to content

chore: bump duty to v1.0.773 (#2375) #5811

chore: bump duty to v1.0.773 (#2375)

chore: bump duty to v1.0.773 (#2375) #5811

Workflow file for this run

on:
push:
tags:
- v*
branches:
- master
pull_request:
merge_group:
name: Test
permissions:
contents: read
jobs:
# build:
# runs-on: ubuntu-latest
# steps:
# - name: Install Go
# uses: actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7 # v5.0.1
# with:
# go-version: 1.22.x
# - name: Checkout code
# uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
# - uses: actions/cache@3624ceb22c1c5a301c8db4169662070a689d9ea8 # v4.1.1
# with:
# path: |
# ~/go/pkg/mod
# ~/.cache/go-build
# .bin
# key: cache-${{ hashFiles('**/go.sum') }}-${{ hashFiles('.bin/*') }}
# restore-keys: |
# cache-
# - run: make build
# - run: cd test && make build
# - run: make compress-build
# - uses: actions/upload-artifact@v3
# with:
# name: bin
# path: |
# .bin/canary-checker
# .bin/canary-checker.test
test:
strategy:
fail-fast: false
matrix:
suite:
- { name: minimal --skip-all, on: ubuntu-latest }
- { name: k8s, on: ubuntu-latest }
- { name: datasources, on: ubuntu-latest }
- { name: opensearch, on: ubuntu-latest }
# - { name: elasticsearch, on: ubuntu-latest }
- { name: git, on: ubuntu-latest }
# - restic
runs-on: ${{ matrix.suite.on }}
steps:
- name: Install Go
uses: actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7 # v5.0.1
with:
go-version: 1.22.x
- name: Checkout code
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
- uses: actions/cache@3624ceb22c1c5a301c8db4169662070a689d9ea8 # v4.1.1
with:
path: |
~/go/pkg/mod
~/.cache/go-build
key: cache-${{ hashFiles('**/go.sum') }}
restore-keys: |
cache-
- run: go install github.com/onsi/ginkgo/v2/ginkgo
- run: make bin
- name: Test
env:
KUBERNETES_VERSION: v1.20.7
GH_TOKEN: ${{ secrets.CHECKRUNS_TOKEN }}
run: ./test/e2e.sh fixtures/${{matrix.suite.name}}
- name: Publish Unit Test Results
uses: EnricoMi/publish-unit-test-result-action@f355d34d53ad4e7f506f699478db2dd71da9de5f # v2.15.1
if: always() && github.event.repository.fork == 'false'
with:
files: test/test-results.xml
check_name: E2E - ${{matrix.suite.name}}