Skip to content

Commit

Permalink
Use == 'true' in ternary operator
Browse files Browse the repository at this point in the history
  • Loading branch information
paulhauner committed Jul 14, 2023
1 parent 853d447 commit d85891e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/test-suite.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:
run: make cargo-fmt
release-tests-ubuntu:
name: release-tests-ubuntu
runs-on: ${{ vars.SELF_HOSTED_RUNNERS && '[self-hosted, linux, large]' || 'ubuntu-latest' }}
runs-on: ${{ vars.SELF_HOSTED_RUNNERS == 'true' && '[self-hosted, linux, large]' || 'ubuntu-latest' }}
needs: cargo-fmt
steps:
- uses: actions/checkout@v3
Expand Down Expand Up @@ -100,7 +100,7 @@ jobs:
run: make test-release
beacon-chain-tests:
name: beacon-chain-tests
runs-on: ${{ vars.SELF_HOSTED_RUNNERS && '[self-hosted, linux, large]' || 'ubuntu-latest' }}
runs-on: ${{ vars.SELF_HOSTED_RUNNERS == 'true' && '[self-hosted, linux, large]' || 'ubuntu-latest' }}
needs: cargo-fmt
steps:
- uses: actions/checkout@v3
Expand Down Expand Up @@ -139,7 +139,7 @@ jobs:
run: make test-slasher
debug-tests-ubuntu:
name: debug-tests-ubuntu
runs-on: ${{ vars.SELF_HOSTED_RUNNERS && '[self-hosted, linux, large]' || 'ubuntu-latest' }}
runs-on: ${{ vars.SELF_HOSTED_RUNNERS == 'true' && '[self-hosted, linux, large]' || 'ubuntu-latest' }}
needs: cargo-fmt
steps:
- uses: actions/checkout@v3
Expand Down Expand Up @@ -175,7 +175,7 @@ jobs:
run: make run-state-transition-tests
ef-tests-ubuntu:
name: ef-tests-ubuntu
runs-on: ${{ vars.SELF_HOSTED_RUNNERS && '[self-hosted, linux, small]' || 'ubuntu-latest' }}
runs-on: ${{ vars.SELF_HOSTED_RUNNERS == 'true' && '[self-hosted, linux, small]' || 'ubuntu-latest' }}
needs: cargo-fmt
steps:
- uses: actions/checkout@v3
Expand Down

0 comments on commit d85891e

Please sign in to comment.