Skip to content

Update GitHub actions to v5 (main) (major) #1057

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
timeout-minutes: 5
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v5
- name: Install tox & poetry
run: |
pipx install tox
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/integration_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
timeout-minutes: 5
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v5
- name: Set up environment
run: |
sudo snap install charmcraft --classic
Expand Down Expand Up @@ -97,7 +97,7 @@ jobs:
df --human-readable
- name: Checkout
timeout-minutes: 3
uses: actions/checkout@v4
uses: actions/checkout@v5
- name: Set up environment
timeout-minutes: 5
run: sudo snap install charmcraft --classic
Expand All @@ -108,7 +108,7 @@ jobs:
go install github.com/snapcore/spread/cmd/spread@latest
- name: Download packed charm(s)
timeout-minutes: 5
uses: actions/download-artifact@v4
uses: actions/download-artifact@v5
with:
pattern: ${{ inputs.artifact-prefix }}-*
merge-multiple: true
Expand Down Expand Up @@ -204,19 +204,19 @@ jobs:
# git push origin gh-pages-beta
# )
- name: Checkout GitHub pages branch
uses: actions/checkout@v4
uses: actions/checkout@v5
with:
ref: gh-pages-beta
path: repo/
- name: Download default test results
# Default test results in case the integration tests time out or runner set up fails
# (So that Allure report will show "unknown"/"failed" test result, instead of omitting the test)
uses: actions/download-artifact@v4
uses: actions/download-artifact@v5
with:
path: allure-default-results/
name: allure-default-results-integration-test
- name: Download test results
uses: actions/download-artifact@v4
uses: actions/download-artifact@v5
with:
path: allure-results/
pattern: allure-results-integration-test-*
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/lib-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
if: ${{ github.event.pull_request.head.repo.full_name == 'canonical/postgresql-k8s-operator' }}
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v5
with:
fetch-depth: 0
- name: Check libs
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
timeout-minutes: 60
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v5
with:
fetch-depth: 0
- name: Release charm libraries
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tiobe_scan.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
runs-on: ubuntu-24.04
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v5

- name: Create and activate virtual environment
run: |
Expand Down
Loading