Skip to content
This repository has been archived by the owner on Nov 7, 2023. It is now read-only.

Commit

Permalink
ci(GITHUB): upgrade checkout action
Browse files Browse the repository at this point in the history
  • Loading branch information
niall-byrne committed Jan 9, 2022
1 parent 4517ff3 commit 25ade5d
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 9 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/self-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,9 @@ jobs:
steps:
- name: Create Release -- Checkout Repository
if: contains(github.ref, '/tags/v')
uses: actions/checkout@v1
uses: actions/checkout@v2
with:
fetch-depth: 0

- name: Create Release -- Setup Environment
if: contains(github.ref, '/tags/v')
Expand Down
20 changes: 12 additions & 8 deletions {{cookiecutter.project_slug}}/.github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,9 @@ jobs:
steps:
- name: Release -- Checkout Repository
if: contains(github.ref, '/tags/v')
uses: actions/checkout@v1
uses: actions/checkout@v2
with:
fetch-depth: 0

- name: Release -- Setup Environment
if: contains(github.ref, '/tags/v')
Expand Down Expand Up @@ -71,7 +73,7 @@ jobs:
steps:

- name: Documentation Test -- Checkout Repository
uses: actions/checkout@v1
uses: actions/checkout@v2

- name: Documentation Test -- Setup Environment
run: |
Expand Down Expand Up @@ -106,7 +108,7 @@ jobs:
steps:

- name: Molecule Lint -- Checkout Repository
uses: actions/checkout@v1
uses: actions/checkout@v2

- name: Molecule Lint -- Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v1
Expand Down Expand Up @@ -148,7 +150,7 @@ jobs:

steps:
- name: Molecule Test -- Checkout Repository
uses: actions/checkout@v1
uses: actions/checkout@v2

- name: Molecule Test -- Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v1
Expand Down Expand Up @@ -190,7 +192,9 @@ jobs:

steps:
- name: Security Test -- Checkout Repository
uses: actions/checkout@v1
uses: actions/checkout@v2
with:
fetch-depth: 0

- name: Security Test -- Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v1
Expand Down Expand Up @@ -229,7 +233,7 @@ jobs:

steps:
- name: Start -- Checkout Repository
uses: actions/checkout@v1
uses: actions/checkout@v2

- name: Start -- Setup Environment
run: |
Expand All @@ -253,7 +257,7 @@ jobs:

steps:
- name: Success -- Checkout Repository
uses: actions/checkout@v1
uses: actions/checkout@v2

- name: Success -- Setup Environment
run: |
Expand All @@ -280,7 +284,7 @@ jobs:

steps:
- name: Workflow Lint -- Checkout Repository
uses: actions/checkout@v1
uses: actions/checkout@v2

- name: Workflow Lint -- Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v1
Expand Down

0 comments on commit 25ade5d

Please sign in to comment.