Skip to content

Commit

Permalink
fix: use valid yaml sequence
Browse files Browse the repository at this point in the history
  • Loading branch information
redhatrises committed Jan 11, 2024
1 parent 576b826 commit c3f0331
Showing 1 changed file with 12 additions and 7 deletions.
19 changes: 12 additions & 7 deletions .github/workflows/operator-deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +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:
- name: Set up Go ${{ matrix.go-version }}
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go-version }}
id: go

- uses: actions/checkout@v4
with:
fetch-depth: 0
Expand All @@ -39,11 +49,6 @@ jobs:
fetch-depth: 0
if: github.event_name == 'pull_request_target'

- uses: actions/setup-go@v5
with:
go-version: "1.20.x"


- name: Install dependencies
run: |
sudo apt-get update -y
Expand Down

0 comments on commit c3f0331

Please sign in to comment.