Skip to content

Commit

Permalink
using underscore for setup-environment instead
Browse files Browse the repository at this point in the history
  • Loading branch information
Azfaar Qureshi committed Dec 18, 2020
1 parent 71e2b1a commit 17341f2
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
if: ${{ failure() && github.ref == 'ref/head/master' }}
run: |
go run cmd/issuegenerator/main.go $TEST_RESULTS
setup-environment:
setup_environment:
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
Expand Down Expand Up @@ -79,7 +79,7 @@ jobs:
path: /home/runner/go/bin
lint:
runs-on: ubuntu-latest
needs: [setup-environment]
needs: [setup_environment]
steps:
- name: Checkout Repo
uses: actions/checkout@v2
Expand Down Expand Up @@ -113,7 +113,7 @@ jobs:
run: git diff --exit-code || (echo 'Generated code is out of date, please run "make genmdata" and commit the changes in this PR.' && exit 1)
cross-compile:
runs-on: ubuntu-latest
needs: [setup-environment]
needs: [setup_environment]
steps:
- name: Checkout Repo
uses: actions/checkout@v2
Expand Down Expand Up @@ -148,10 +148,10 @@ jobs:
path: ./bin
loadtest:
runs-on: ubuntu-latest
needs: [setup-environment]
needs: [setup_environment]
strategy:
fail-fast: false
matrix: ${{ fromJson(needs.setup-environment.outputs.matrix) }}
matrix: ${{ fromJson(needs.setup_environment.outputs.matrix) }}
env:
TEST_RESULTS: testbed/tests/results/junit/results.xml
steps:
Expand Down Expand Up @@ -208,7 +208,7 @@ jobs:
go run cmd/issuegenerator/main.go $TEST_RESULTS
correctness:
runs-on: ubuntu-latest
needs: [setup-environment]
needs: [setup_environment]
env:
TEST_RESULTS: testbed/tests/results/junit/results.xml
steps:
Expand Down

0 comments on commit 17341f2

Please sign in to comment.