Skip to content

Commit 4213202

Browse files
Update GitHub actions
1 parent 11f5c07 commit 4213202

3 files changed

Lines changed: 15 additions & 15 deletions

File tree

.github/workflows/ci.yaml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,11 @@ jobs:
2424

2525
lib-check:
2626
name: Check libraries
27-
runs-on: ubuntu-22.04
27+
runs-on: ubuntu-24.04
2828
timeout-minutes: 5
2929
steps:
3030
- name: Checkout
31-
uses: actions/checkout@v4
31+
uses: actions/checkout@v5
3232
with:
3333
fetch-depth: 0
3434
- run: |
@@ -45,11 +45,11 @@ jobs:
4545

4646
unit-test:
4747
name: Unit test charm
48-
runs-on: ubuntu-22.04
48+
runs-on: ubuntu-24.04
4949
timeout-minutes: 5
5050
steps:
5151
- name: Checkout
52-
uses: actions/checkout@v4
52+
uses: actions/checkout@v5
5353
- name: Install tox & poetry
5454
run: |
5555
pipx install tox
@@ -58,10 +58,10 @@ jobs:
5858
run: tox run -e unit
5959

6060
promtool:
61-
runs-on: ubuntu-22.04
61+
runs-on: ubuntu-24.04
6262
steps:
6363
- name: Checkout repo
64-
uses: actions/checkout@v4
64+
uses: actions/checkout@v5
6565

6666
# prometheus snap includes promtool
6767
- name: Install prometheus snap
@@ -77,11 +77,11 @@ jobs:
7777
7878
terraform-test:
7979
name: Terraform - Lint and Simple Deployment
80-
runs-on: ubuntu-22.04
80+
runs-on: ubuntu-24.04
8181
timeout-minutes: 120
8282
steps:
8383
- name: Checkout repo
84-
uses: actions/checkout@v4
84+
uses: actions/checkout@v5
8585
with:
8686
fetch-depth: 0
8787

.github/workflows/integration_test.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
timeout-minutes: 5
1717
steps:
1818
- name: Checkout
19-
uses: actions/checkout@v4
19+
uses: actions/checkout@v5
2020
- name: Set up environment
2121
run: |
2222
sudo snap install charmcraft --classic
@@ -92,7 +92,7 @@ jobs:
9292
run: df --human-readable
9393
- name: Checkout
9494
timeout-minutes: 3
95-
uses: actions/checkout@v4
95+
uses: actions/checkout@v5
9696
- name: Set up environment
9797
timeout-minutes: 5
9898
run: sudo snap install charmcraft --classic
@@ -103,7 +103,7 @@ jobs:
103103
go install github.com/snapcore/spread/cmd/spread@latest
104104
- name: Download packed charm(s)
105105
timeout-minutes: 5
106-
uses: actions/download-artifact@v4
106+
uses: actions/download-artifact@v5
107107
with:
108108
pattern: ${{ inputs.artifact-prefix }}-*
109109
merge-multiple: true
@@ -202,19 +202,19 @@ jobs:
202202
# git push origin gh-pages-beta
203203
# )
204204
- name: Checkout GitHub pages branch
205-
uses: actions/checkout@v4
205+
uses: actions/checkout@v5
206206
with:
207207
ref: gh-pages-beta
208208
path: repo/
209209
- name: Download default test results
210210
# Default test results in case the integration tests time out or runner set up fails
211211
# (So that Allure report will show "unknown"/"failed" test result, instead of omitting the test)
212-
uses: actions/download-artifact@v4
212+
uses: actions/download-artifact@v5
213213
with:
214214
path: allure-default-results/
215215
name: allure-default-results-integration-test
216216
- name: Download test results
217-
uses: actions/download-artifact@v4
217+
uses: actions/download-artifact@v5
218218
with:
219219
path: allure-results/
220220
pattern: allure-results-integration-test-*

.github/workflows/tics_run_sh_ghaction_test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111

1212
steps:
1313
- name: Checkout the project
14-
uses: actions/checkout@v4
14+
uses: actions/checkout@v5
1515

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

0 commit comments

Comments
 (0)