From a33d139a7c08cb550a21ec75885d207db95402f9 Mon Sep 17 00:00:00 2001
From: Joel Takvorian <jtakvori@redhat.com>
Date: Tue, 3 Jan 2023 14:25:58 +0100
Subject: [PATCH] ghactions: remove strategy matrix

The goal is to allow branch protection rule with these status checks,
but we don't want to have to modify every time we update the go version
(as they're referred to with their go version included when startegy
matrix is used)
---
 .github/workflows/pull_request.yml     | 3 ---
 .github/workflows/pull_request_e2e.yml | 5 +----
 2 files changed, 1 insertion(+), 7 deletions(-)

diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml
index 93b2164d..edf5f3b4 100644
--- a/.github/workflows/pull_request.yml
+++ b/.github/workflows/pull_request.yml
@@ -10,9 +10,6 @@ jobs:
   test:
     name: test
     runs-on: ubuntu-latest
-    strategy:
-      matrix:
-        go: ['1.18']
     steps:
     - uses: actions/checkout@v2
     - name: Set up Go
diff --git a/.github/workflows/pull_request_e2e.yml b/.github/workflows/pull_request_e2e.yml
index d34adea6..4fcb4207 100644
--- a/.github/workflows/pull_request_e2e.yml
+++ b/.github/workflows/pull_request_e2e.yml
@@ -11,16 +11,13 @@ jobs:
   e2e-tests:
     name: e2e-tests
     runs-on: ubuntu-latest
-    strategy:
-      matrix:
-        go: ['1.18']
     steps:
     - name: install make
       run: sudo apt-get install make
     - name: set up go 1.x
       uses: actions/setup-go@v2
       with:
-        go-version: ${{ matrix.go }}
+        go-version: 1.18
     - name: checkout
       uses: actions/checkout@v2
     - name: run end-to-end tests
-- 
GitLab