Skip to content

Commit

Permalink
fix: switch to actions/checkout@v3
Browse files Browse the repository at this point in the history
Signed-off-by: Ilya Lesikov <ilya@lesikov.com>
  • Loading branch information
ilya-lesikov committed May 11, 2022
1 parent 7098c8a commit ba3ac8e
Show file tree
Hide file tree
Showing 24 changed files with 64 additions and 64 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/commit_tests.yml
Expand Up @@ -19,7 +19,7 @@ jobs:
go-version: 1.17

- name: Checkout code
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Prepare environment
run: |
Expand All @@ -43,7 +43,7 @@ jobs:
go-version: 1.17

- name: Checkout code
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Prepare environment
run: |
Expand All @@ -53,4 +53,4 @@ jobs:
- name: Lint
run: |
make lint
22 changes: 11 additions & 11 deletions .github/workflows/daily_tests.yml
Expand Up @@ -26,7 +26,7 @@ jobs:
id: go

- name: Checkout code
uses: actions/checkout@v2
uses: actions/checkout@v3

# To compress werf_with_coverage binary for macOS
# This fixes related with monkey patching panic (panic: permission denied [recovered])
Expand Down Expand Up @@ -113,7 +113,7 @@ jobs:
id: go

- name: Checkout code
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Download unit tests binaries
uses: actions/download-artifact@master
Expand Down Expand Up @@ -169,11 +169,11 @@ jobs:
id: go

- name: Checkout code
uses: actions/checkout@v2
uses: actions/checkout@v3
if: matrix.extra-find-args != '! -name ''git.test'' ! -name ''ansible.test'''

- name: Checkout code (git history as fixtures for tests)
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
fetch-depth: 0
if: matrix.extra-find-args == '! -name ''git.test'' ! -name ''ansible.test'''
Expand Down Expand Up @@ -285,7 +285,7 @@ jobs:
id: go

- name: Checkout code
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Download integration container_registry_per_implementation tests binaries
uses: actions/download-artifact@master
Expand Down Expand Up @@ -360,7 +360,7 @@ jobs:
id: go

- name: Checkout code
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Download integration k8s_per_version tests binaries
uses: actions/download-artifact@master
Expand Down Expand Up @@ -470,7 +470,7 @@ jobs:
id: go

- name: Checkout code
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Download integration k8s_per_version_and_container_registry_per_implementation tests binaries
uses: actions/download-artifact@master
Expand Down Expand Up @@ -562,11 +562,11 @@ jobs:
id: go

- name: Checkout code
uses: actions/checkout@v2
uses: actions/checkout@v3
if: matrix.extra-find-args != '! -name ''git.test*'' ! -name ''ansible.test*'''

- name: Checkout code (git history as fixtures for tests)
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
fetch-depth: 0
if: matrix.extra-find-args == '! -name ''git.test*'' ! -name ''ansible.test*'''
Expand Down Expand Up @@ -644,7 +644,7 @@ jobs:
id: go

- name: Checkout code
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Download integration k8s_per_version tests binaries
uses: actions/download-artifact@master
Expand Down Expand Up @@ -739,7 +739,7 @@ jobs:
run: sudo apt-get install -y libbtrfs-dev

- name: Checkout code
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Download coverage artifact
uses: actions/download-artifact@master
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/docs_tests.yml
Expand Up @@ -37,7 +37,7 @@ jobs:
run: sudo apt-get install -y libbtrfs-dev

- name: Checkout code
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Test
run: |
Expand Down Expand Up @@ -69,7 +69,7 @@ jobs:
${{ runner.os }}-golang-
- name: Checkout code
uses: actions/checkout@v1
uses: actions/checkout@v3

- name: Login to GitHub Container Registry
uses: docker/login-action@v1
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/multiwerf_release_publisher.yml
Expand Up @@ -18,7 +18,7 @@ jobs:
id: go

- name: Checkout code
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Publish release
run: |
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/tests.yml
Expand Up @@ -48,7 +48,7 @@ jobs:
if: matrix.os == 'ubuntu-latest'

- name: Checkout code
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Prepare environment
run: ./scripts/ci/git.sh
Expand All @@ -74,7 +74,7 @@ jobs:
run: sudo apt-get install -y libbtrfs-dev

- name: Checkout code
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Compile integration tests binaries
run: |
Expand Down Expand Up @@ -140,11 +140,11 @@ jobs:
run: sudo apt-get install -y libbtrfs-dev

- name: Checkout code
uses: actions/checkout@v2
uses: actions/checkout@v3
if: matrix.extra-find-args != '! -name ''git.test'' ! -name ''ansible.test'''

- name: Checkout code (git history as fixtures for tests)
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
fetch-depth: 0
if: matrix.extra-find-args == '! -name ''git.test'' ! -name ''ansible.test'''
Expand Down Expand Up @@ -198,7 +198,7 @@ jobs:
run: sudo apt-get install -y libbtrfs-dev

- name: Checkout code
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Download integration k8s_per_version tests binaries
uses: actions/download-artifact@master
Expand Down Expand Up @@ -300,7 +300,7 @@ jobs:
run: sudo apt-get install -y libbtrfs-dev

- name: Checkout code
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Download integration k8s_per_version_and_container_registry_per_implementation tests binaries
uses: actions/download-artifact@master
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tests_cleaner.yml
Expand Up @@ -29,7 +29,7 @@ jobs:
steps:

- name: Checkout code
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Setup (common)
run: sudo apt install jq
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/website_converge_tag.yml
Expand Up @@ -18,7 +18,7 @@ jobs:
steps:

- name: Checkout code
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
fetch-depth: 0

Expand All @@ -45,7 +45,7 @@ jobs:
steps:

- name: Checkout code
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
fetch-depth: 0

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/website_converge_test.yml
Expand Up @@ -16,7 +16,7 @@ jobs:
steps:

- name: Checkout code
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
fetch-depth: 0

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/website_review.yml
Expand Up @@ -16,7 +16,7 @@ jobs:
steps:

- name: Checkout code
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
fetch-depth: 0

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/website_review_dismiss.yml
Expand Up @@ -16,7 +16,7 @@ jobs:
steps:

- name: Checkout code
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
fetch-depth: 0

Expand Down
Expand Up @@ -11,7 +11,7 @@
> steps:
>
> - name: Checkout code
> uses: actions/checkout@v2
> uses: actions/checkout@v3
> with:
> fetch-depth: 0
>
Expand All @@ -27,7 +27,7 @@
> steps:
>
> - name: Checkout code
> uses: actions/checkout@v2
> uses: actions/checkout@v3
> with:
> fetch-depth: 0
>
Expand All @@ -40,4 +40,4 @@
> {% endraw %}
>
> </div>
> </div>
> </div>
4 changes: 2 additions & 2 deletions docs/_includes/advanced/ci_cd/github_actions/cleanup_base.md
Expand Up @@ -14,7 +14,7 @@ jobs:
steps:

- name: Checkout code
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Fetch all history for all tags and branches
run: git fetch --prune --unshallow
Expand All @@ -24,4 +24,4 @@ jobs:
with:
kube-config-base64-data: ${{ secrets.KUBE_CONFIG_BASE64_DATA }}
```
{% endraw %}
{% endraw %}
Expand Up @@ -6,7 +6,7 @@ converge:
steps:

- name: Checkout code
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
fetch-depth: 0

Expand Down
Expand Up @@ -35,7 +35,7 @@ jobs:
steps:

- name: Checkout code
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
fetch-depth: 0

Expand Down Expand Up @@ -70,7 +70,7 @@ jobs:
steps:

- name: Checkout code
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
fetch-depth: 0

Expand Down
Expand Up @@ -16,7 +16,7 @@ jobs:
steps:

- name: Checkout code
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
fetch-depth: 0

Expand Down Expand Up @@ -51,7 +51,7 @@ jobs:
steps:

- name: Checkout code
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
fetch-depth: 0

Expand All @@ -66,4 +66,4 @@ jobs:
{% endraw %}

</div>
</div>
</div>
Expand Up @@ -16,7 +16,7 @@ jobs:
steps:

- name: Checkout code
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
fetch-depth: 0

Expand Down Expand Up @@ -52,7 +52,7 @@ jobs:
steps:

- name: Checkout code
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
fetch-depth: 0

Expand All @@ -67,4 +67,4 @@ jobs:
{% endraw %}

</div>
</div>
</div>
Expand Up @@ -17,7 +17,7 @@ jobs:
steps:

- name: Checkout code
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
fetch-depth: 0

Expand Down Expand Up @@ -53,7 +53,7 @@ jobs:
steps:

- name: Checkout code
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
fetch-depth: 0

Expand All @@ -68,4 +68,4 @@ jobs:
{% endraw %}

</div>
</div>
</div>

0 comments on commit ba3ac8e

Please sign in to comment.