Remove unnecessary fetch-depth (#5469)
And follow convention for actions/checkout
This commit is contained in:
parent
8d18e463ea
commit
5fc5c7eab7
|
@ -9,10 +9,7 @@ jobs:
|
||||||
outputs:
|
outputs:
|
||||||
matrix: ${{ steps.set-matrix.outputs.matrix }}
|
matrix: ${{ steps.set-matrix.outputs.matrix }}
|
||||||
steps:
|
steps:
|
||||||
- name: Check out repository
|
- uses: actions/checkout@v2.3.4
|
||||||
uses: actions/checkout@v2.3.4
|
|
||||||
with:
|
|
||||||
fetch-depth: 0
|
|
||||||
|
|
||||||
- name: Set up JDK 11 for running Gradle
|
- name: Set up JDK 11 for running Gradle
|
||||||
uses: actions/setup-java@v2
|
uses: actions/setup-java@v2
|
||||||
|
@ -36,8 +33,7 @@ jobs:
|
||||||
matrix: ${{fromJson(needs.setup-matrix.outputs.matrix)}}
|
matrix: ${{fromJson(needs.setup-matrix.outputs.matrix)}}
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
steps:
|
steps:
|
||||||
- name: Check out repository
|
- uses: actions/checkout@v2.3.4
|
||||||
uses: actions/checkout@v2.3.4
|
|
||||||
|
|
||||||
- name: Set up JDK 11 for running Gradle
|
- name: Set up JDK 11 for running Gradle
|
||||||
uses: actions/setup-java@v2
|
uses: actions/setup-java@v2
|
||||||
|
|
|
@ -9,10 +9,8 @@ jobs:
|
||||||
run-overhead-tests:
|
run-overhead-tests:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: checkout
|
- uses: actions/checkout@v2.3.4
|
||||||
uses: actions/checkout@v2.3.4
|
- uses: actions/checkout@v2.3.4
|
||||||
- name: checkout
|
|
||||||
uses: actions/checkout@v2.3.4
|
|
||||||
with:
|
with:
|
||||||
ref: gh-pages
|
ref: gh-pages
|
||||||
path: gh-pages
|
path: gh-pages
|
||||||
|
|
|
@ -10,8 +10,7 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repository
|
- uses: actions/checkout@v2.3.4
|
||||||
uses: actions/checkout@v2.3.4
|
|
||||||
|
|
||||||
- name: Initialize CodeQL
|
- name: Initialize CodeQL
|
||||||
uses: github/codeql-action/init@v1
|
uses: github/codeql-action/init@v1
|
||||||
|
|
|
@ -66,8 +66,6 @@ jobs:
|
||||||
- uses: technote-space/workflow-conclusion-action@v2.2
|
- uses: technote-space/workflow-conclusion-action@v2.2
|
||||||
|
|
||||||
- uses: actions/checkout@v2.3.4
|
- uses: actions/checkout@v2.3.4
|
||||||
with:
|
|
||||||
fetch-depth: 0
|
|
||||||
|
|
||||||
- uses: JasonEtco/create-an-issue@v2.6
|
- uses: JasonEtco/create-an-issue@v2.6
|
||||||
if: env.WORKFLOW_CONCLUSION == 'failure' # notify only if failure
|
if: env.WORKFLOW_CONCLUSION == 'failure' # notify only if failure
|
||||||
|
|
Loading…
Reference in New Issue