From 859d7be2a1335597ba30518eb87f464d0adb6b9b Mon Sep 17 00:00:00 2001 From: Gabe Alford Date: Thu, 11 Jan 2024 16:25:12 -0700 Subject: [PATCH] fix: use valid yaml sequence --- .github/workflows/operator-deployment.yml | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/.github/workflows/operator-deployment.yml b/.github/workflows/operator-deployment.yml index fba46668..94d710e4 100644 --- a/.github/workflows/operator-deployment.yml +++ b/.github/workflows/operator-deployment.yml @@ -20,16 +20,23 @@ env: jobs: e2e: + name: e2e + strategy: + matrix: + os: [ubuntu-latest] + go-version: [1.20.x] if: | github.event_name == 'push' || (github.event_name == 'pull_request_target' && github.event.label.name == 'ok-to-test') - name: e2e - runs-on: ubuntu-latest + + runs-on: ${{ matrix.os }} steps: - - uses: actions/setup-go@v5 + - name: Set up Go ${{ matrix.go-version }} + uses: actions/setup-go@v5 with: - go-version: [1.20.x] + go-version: ${{ matrix.go-version }} + id: go - uses: actions/checkout@v4 with: