Skip to content

Commit edac40f

Browse files
authored
Merge pull request #42 from InfrastructureAsCode-ch/update_workflow
Use actions/cache v4
2 parents 62d1d82 + ebc5bf1 commit edac40f

1 file changed

Lines changed: 11 additions & 11 deletions

File tree

.github/workflows/main.yaml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ jobs:
77
name: linters
88
strategy:
99
matrix:
10-
python-version: [ '3.8' ]
10+
python-version: [ '3.9' ]
1111
platform: [ubuntu-latest]
1212
runs-on: ${{ matrix.platform }}
1313
steps:
@@ -25,7 +25,7 @@ jobs:
2525
virtualenvs-in-project: true
2626

2727
- name: Cache Poetry virtualenv
28-
uses: actions/cache@v2
28+
uses: actions/cache@v4
2929
id: cached-poetry-dependencies
3030
with:
3131
path: .venv
@@ -48,8 +48,8 @@ jobs:
4848
strategy:
4949
fail-fast: false
5050
matrix:
51-
python-version: [ '3.8', '3.9', '3.10', '3.11', '3.12' ]
52-
platform: [ubuntu-latest, macOS-latest, windows-latest]
51+
python-version: [ '3.9', '3.10', '3.11', '3.12' ]
52+
platform: [ubuntu-latest, macos-13, windows-latest]
5353
runs-on: ${{ matrix.platform }}
5454
steps:
5555
- uses: actions/checkout@v2
@@ -66,7 +66,7 @@ jobs:
6666
virtualenvs-in-project: true
6767

6868
- name: Cache Poetry virtualenv
69-
uses: actions/cache@v2
69+
uses: actions/cache@v4
7070
id: cached-poetry-dependencies
7171
with:
7272
path: .venv
@@ -88,12 +88,12 @@ jobs:
8888
strategy:
8989
fail-fast: false
9090
matrix:
91-
python-version: [ '3.8', '3.9', '3.10', '3.11', '3.12' ]
92-
platform: [ubuntu-latest, macOS-latest, windows-latest]
91+
python-version: [ '3.9', '3.10', '3.11', '3.12' ]
92+
platform: [ubuntu-latest, macos-13, windows-latest]
9393
extra: [ 'jinja', 'ttp', 'jsonpatch']
9494
runs-on: ${{ matrix.platform }}
9595
steps:
96-
- uses: actions/checkout@v2
96+
- uses: actions/checkout@v4
9797
- name: Setup python
9898
uses: actions/setup-python@v1
9999
with:
@@ -107,7 +107,7 @@ jobs:
107107
virtualenvs-in-project: true
108108

109109
- name: Cache Poetry virtualenv
110-
uses: actions/cache@v2
110+
uses: actions/cache@v4
111111
id: cached-poetry-dependencies
112112
with:
113113
path: .venv
@@ -131,7 +131,7 @@ jobs:
131131
- name: Setup python
132132
uses: actions/setup-python@v1
133133
with:
134-
python-version: 3.8
134+
python-version: "3.9"
135135

136136
- name: Install Poetry
137137
uses: snok/install-poetry@v1
@@ -154,4 +154,4 @@ jobs:
154154
- uses: actions/upload-artifact@v3
155155
with:
156156
name: build
157-
path: dist/*
157+
path: dist/*

0 commit comments

Comments
 (0)