Skip to content

Commit

Permalink
patch: Update actions/checkout to v4
Browse files Browse the repository at this point in the history
  • Loading branch information
carlcsaposs-canonical committed Jan 23, 2024
1 parent c27ffeb commit 6ae77f4
Show file tree
Hide file tree
Showing 11 changed files with 15 additions and 15 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/__check_pr_title.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
timeout-minutes: 5
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Check semantic version prefix
run: python3 _check_semantic_version_prefix.py
env:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/__lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
timeout-minutes: 5
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Install actionlint
id: install
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/__release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
timeout-minutes: 5
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Check semantic version prefix for latest commit
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build_charm_without_cache.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ jobs:
id: lxd-snap-version
run: parse-snap-version --revision='${{ inputs.lxd-snap-revision }}' --channel='${{ inputs.lxd-snap-channel }}' --revision-input-name=lxd-snap-revision --channel-input-name=lxd-snap-channel
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Set up environment
run: |
# Placeholder (so that shellcheck disable does not apply to entire script)
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/build_charms_with_cache.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ jobs:
- name: Install CLI
run: pipx install git+https://github.com/canonical/data-platform-workflows@'${{ needs.get-workflow-version.outputs.version }}'#subdirectory=python/cli
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Collect charms to build from charmcraft.yaml file(s)
id: collect
run: collect-charms
Expand All @@ -87,7 +87,7 @@ jobs:
id: lxd-snap-version
run: parse-snap-version --revision='${{ inputs.lxd-snap-revision }}' --channel='${{ inputs.lxd-snap-channel }}' --revision-input-name=lxd-snap-revision --channel-input-name=lxd-snap-channel
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Set up environment
run: |
# Placeholder (so that shellcheck disable does not apply to entire script)
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build_snap_without_cache.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
timeout-minutes: 15
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Set up environment
run: |
sudo adduser "$USER" lxd
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/integration_test_charm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Install tox & poetry
run: |
pipx install tox
Expand Down Expand Up @@ -200,7 +200,7 @@ jobs:
with open(os.environ["GITHUB_OUTPUT"], "a") as file:
file.write(output)
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Set up environment
run: |
# `--classic` applies to juju 2 snap; ignored for juju 3 snap
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/integration_test_charm_self_hosted.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Install tox & poetry
run: |
pipx install tox
Expand Down Expand Up @@ -179,7 +179,7 @@ jobs:
with open(os.environ["GITHUB_OUTPUT"], "a") as file:
file.write(output)
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Set up environment
run: |
# `--classic` applies to juju 2 snap; ignored for juju 3 snap
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
timeout-minutes: 5
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Install actionlint
id: install
run: |
Expand All @@ -30,7 +30,7 @@ jobs:
timeout-minutes: 5
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Install tox & poetry
run: |
pipx install tox
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release_charm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ jobs:
run: sudo snap install charmcraft --classic ${{ steps.charmcraft-snap-version.outputs.install_flag }}
- run: snap list
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Download charm package(s)
uses: actions/download-artifact@v3
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/update_bundle.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ jobs:
- name: Install CLI
run: pipx install git+https://github.com/canonical/data-platform-workflows@'${{ needs.get-workflow-version.outputs.version }}'#subdirectory=python/cli
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
token: ${{ secrets.token }}
- name: Update bundle file
Expand Down

0 comments on commit 6ae77f4

Please sign in to comment.