diff --git a/.github/workflows/all.yml b/.github/workflows/all.yml index fc2e7f17037..e20ccf95fb0 100644 --- a/.github/workflows/all.yml +++ b/.github/workflows/all.yml @@ -9,6 +9,10 @@ on: - v* pull_request: +defaults: + run: + shell: bash + env: APP_NAME: "k6" DOCKER_IMAGE_ID: ${{ github.repository }} @@ -16,9 +20,6 @@ env: jobs: deps: runs-on: ubuntu-latest - defaults: - run: - shell: bash steps: - name: Checkout code uses: actions/checkout@v2 @@ -34,9 +35,6 @@ jobs: lint: runs-on: ubuntu-latest - defaults: - run: - shell: bash env: GOLANGCI_VERSION: v1.31 GO111MODULE: 'on' @@ -62,9 +60,6 @@ jobs: go-version: [1.14.x, 1.15.x] platform: [ubuntu-latest, windows-latest] runs-on: ${{ matrix.platform }} - defaults: - run: - shell: bash env: CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} steps: @@ -101,9 +96,6 @@ jobs: configure: runs-on: ubuntu-latest if: startsWith(github.ref, 'refs/tags/v') - defaults: - run: - shell: bash outputs: version: ${{ steps.get_version.outputs.version }} steps: @@ -116,9 +108,6 @@ jobs: build: runs-on: ubuntu-latest - defaults: - run: - shell: bash needs: [deps, lint, test] if: startsWith(github.ref, 'refs/tags/v') steps: @@ -195,9 +184,6 @@ jobs: publish-github: runs-on: ubuntu-latest - defaults: - run: - shell: bash needs: [deps, lint, test, configure, build] if: startsWith(github.ref, 'refs/tags/v') env: @@ -289,9 +275,6 @@ jobs: if: startsWith(github.ref, 'refs/tags/v') env: VERSION: ${{ needs.configure.outputs.version }} - defaults: - run: - shell: bash steps: - name: Set up Homebrew uses: Homebrew/actions/setup-homebrew@cd7c1eba155dc11d77aa3e3e4013836ad96a6894