Skip to content

Commit a024d03

Browse files
Update GitHub actions
1 parent 0e8abaf commit a024d03

File tree

5 files changed

+14
-14
lines changed

5 files changed

+14
-14
lines changed

.github/workflows/check_libs.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
if: ${{ github.event.pull_request.head.repo.full_name == 'canonical/mysql-router-operators' }}
2929
steps:
3030
- name: Checkout
31-
uses: actions/checkout@v5
31+
uses: actions/checkout@v6
3232
with:
3333
fetch-depth: 0
3434
- name: Check libs

.github/workflows/ci.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
timeout-minutes: 5
3434
steps:
3535
- name: Checkout
36-
uses: actions/checkout@v5
36+
uses: actions/checkout@v6
3737
- name: Install terraform
3838
run: |
3939
sudo snap install terraform --classic
@@ -54,11 +54,11 @@ jobs:
5454
- kubernetes
5555
- machines
5656
name: Unit test | ${{ matrix.path }}
57-
runs-on: ubuntu-22.04 # TODO: use ubuntu-latest after fixing pathlib issue on python 3.12
57+
runs-on: ubuntu-24.04 # TODO: use ubuntu-latest after fixing pathlib issue on python 3.12
5858
timeout-minutes: 20
5959
steps:
6060
- name: Checkout
61-
uses: actions/checkout@v5
61+
uses: actions/checkout@v6
6262
- name: Install tox & poetry
6363
run: |
6464
pipx install tox

.github/workflows/integration_test_charm.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
timeout-minutes: 5
2121
steps:
2222
- name: Checkout
23-
uses: actions/checkout@v5
23+
uses: actions/checkout@v6
2424
- name: Set up environment
2525
run: |
2626
sudo snap install charmcraft --classic
@@ -79,7 +79,7 @@ jobs:
7979
# Default test results in case the integration tests time out or runner set up fails
8080
# (So that Allure report will show "unknown"/"failed" test result, instead of omitting the test)
8181
if: ${{ github.event_name == 'schedule' && github.run_attempt == '1' }}
82-
uses: actions/upload-artifact@v5
82+
uses: actions/upload-artifact@v6
8383
with:
8484
name: allure-default-results-integration-test-${{ inputs.path-to-charm-directory }}
8585
path: ${{ inputs.path-to-charm-directory }}/allure-default-results/
@@ -109,7 +109,7 @@ jobs:
109109
df --human-readable
110110
- name: Checkout
111111
timeout-minutes: 3
112-
uses: actions/checkout@v5
112+
uses: actions/checkout@v6
113113
- name: Set up environment
114114
timeout-minutes: 5
115115
run: |
@@ -118,7 +118,7 @@ jobs:
118118
go install github.com/snapcore/spread/cmd/spread@latest
119119
- name: Download packed charm(s)
120120
timeout-minutes: 5
121-
uses: actions/download-artifact@v6
121+
uses: actions/download-artifact@v7
122122
with:
123123
pattern: ${{ inputs.artifact-prefix }}-*
124124
merge-multiple: true
@@ -137,7 +137,7 @@ jobs:
137137
# Allure can only process one result per pytest test ID. If parameterization is done via
138138
# spread instead of pytest, there will be overlapping pytest test IDs.
139139
if: ${{ (success() || (failure() && steps.spread.outcome == 'failure')) && startsWith(matrix.job.spread_job, 'github-ci:ubuntu-24.04:') && endsWith(matrix.job.spread_job, ':juju36') && github.event_name == 'schedule' && github.run_attempt == '1' }}
140-
uses: actions/upload-artifact@v5
140+
uses: actions/upload-artifact@v6
141141
with:
142142
name: allure-results-integration-test-${{ inputs.path-to-charm-directory }}-${{ matrix.job.name_in_artifact }}
143143
path: ${{ inputs.path-to-charm-directory }}/artifacts/${{ matrix.job.spread_job }}/allure-results/
@@ -178,7 +178,7 @@ jobs:
178178
- name: Upload logs
179179
timeout-minutes: 5
180180
if: ${{ !contains(matrix.job.spread_job, 'juju29') && (success() || (failure() && steps.spread.outcome == 'failure')) }}
181-
uses: actions/upload-artifact@v5
181+
uses: actions/upload-artifact@v6
182182
with:
183183
name: logs-integration-test-${{ inputs.path-to-charm-directory }}-${{ matrix.job.name_in_artifact }}
184184
path: ~/logs/

.github/workflows/integration_test_charms.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,20 +52,20 @@ jobs:
5252
# git push origin gh-pages-beta
5353
# )
5454
- name: Checkout GitHub pages branch
55-
uses: actions/checkout@v5
55+
uses: actions/checkout@v6
5656
with:
5757
ref: gh-pages-beta
5858
path: repo/
5959
- name: Download default test results
6060
# Default test results in case the integration tests time out or runner set up fails
6161
# (So that Allure report will show "unknown"/"failed" test result, instead of omitting the test)
62-
uses: actions/download-artifact@v6
62+
uses: actions/download-artifact@v7
6363
with:
6464
path: allure-default-results/
6565
pattern: allure-default-results-integration-test-*
6666
merge-multiple: true
6767
- name: Download test results
68-
uses: actions/download-artifact@v6
68+
uses: actions/download-artifact@v7
6969
with:
7070
path: allure-results/
7171
pattern: allure-results-integration-test-*

.github/workflows/tiobe_scan.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
timeout-minutes: 60
1919
steps:
2020
- name: Checkout the project
21-
uses: actions/checkout@v5
21+
uses: actions/checkout@v6
2222

2323
- name: Install system dependencies
2424
run: sudo apt-get update && sudo apt-get install -y python3-venv

0 commit comments

Comments
 (0)