Skip to content

Commit bff427a

Browse files
committed
Add .venv/ to .gitignore. Bump Python minimum to 3.8 as out of support. Update GitHub Marketplace Actions.
Signed-off-by: Carlo van Driesten <[email protected]>
1 parent b1b9c72 commit bff427a

File tree

3 files changed

+18
-17
lines changed

3 files changed

+18
-17
lines changed

.github/workflows/protobuf.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,14 @@ jobs:
1313

1414
steps:
1515
- name: Checkout OSI
16-
uses: actions/checkout@v2
16+
uses: actions/checkout@v4
1717
with:
1818
submodules: true
1919

2020
- name: Setup Python
21-
uses: actions/setup-python@v2
21+
uses: actions/setup-python@v5
2222
with:
23-
python-version: '3.7'
23+
python-version: '3.8'
2424

2525
- name: Install Python Dependencies
2626
run: python -m pip install --upgrade pip setuptools wheel pyyaml
@@ -84,7 +84,7 @@ jobs:
8484

8585
- name: Archive Documentation
8686
if: ${{ github.event_name == 'pull_request' }}
87-
uses: actions/upload-artifact@v2
87+
uses: actions/upload-artifact@v4
8888
with:
8989
name: linux64-doc
9090
path: doc/html
@@ -104,21 +104,21 @@ jobs:
104104

105105
steps:
106106
- name: Checkout OSI
107-
uses: actions/checkout@v2
107+
uses: actions/checkout@v4
108108
with:
109109
submodules: true
110110

111111
- name: Setup Python
112-
uses: actions/setup-python@v2
112+
uses: actions/setup-python@v5
113113
with:
114-
python-version: '3.7'
114+
python-version: '3.8'
115115

116116
- name: Install Python Dependencies
117117
run: python -m pip install --upgrade pip setuptools wheel pyyaml
118118

119119
- name: Cache Dependencies
120120
id: cache-depends
121-
uses: actions/cache@v2
121+
uses: actions/cache@v3
122122
with:
123123
path: protobuf-3.20.1
124124
key: ${{ runner.os }}-v2-depends

.github/workflows/release.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
steps:
1818
# Check out the GitHub repository
1919
- name: Checkout interface
20-
uses: actions/checkout@v3
20+
uses: actions/checkout@v4
2121
with:
2222
path: dist/open-simulation-interface
2323
# Set the version variable based on the latest tag (could be replaced with github-internal predefined variable?)
@@ -66,7 +66,7 @@ jobs:
6666
steps:
6767
# Check out the Antora generator
6868
- name: Checkout Antora generator
69-
uses: actions/checkout@v3
69+
uses: actions/checkout@v4
7070
with:
7171
repository: OpenSimulationInterface/osi-antora-generator
7272
path: antora
@@ -94,7 +94,7 @@ jobs:
9494
args: antora.sh
9595
# Upload the created artifact for later jobs to use
9696
- name: Upload artifact
97-
uses: actions/upload-artifact@v3
97+
uses: actions/upload-artifact@v4
9898
with:
9999
name: antora
100100
path: antora/site
@@ -107,19 +107,19 @@ jobs:
107107
steps:
108108
# Check out the repository (again)
109109
- name: Checkout interface
110-
uses: actions/checkout@v3
110+
uses: actions/checkout@v4
111111
with:
112112
path: dist/open-simulation-interface_${{needs.setup.outputs.output1}}
113113
# Check out the sensor model packaging repo
114114
- name: Checkout sensor model packaging
115-
uses: actions/checkout@v3
115+
uses: actions/checkout@v4
116116
with:
117117
repository: OpenSimulationInterface/osi-sensor-model-packaging
118118
path: dist/osi-sensor-model-packaging
119119
fetch-depth: 0
120120
# Retrieve the Antora artifact from the previous job
121121
- name: Retrieve Antora artifact
122-
uses: actions/download-artifact@v3
122+
uses: actions/download-artifact@v4
123123
with:
124124
name: antora
125125
path: dist/ASAM_OSI_Standard_${{needs.setup.outputs.output1}}/
@@ -154,13 +154,13 @@ jobs:
154154
mv osi-sensor-model-packaging osi-sensor-model-packaging_${{ env.OSMP_VERSION }}
155155
# Package all collected deliverables
156156
- name: Zip Release
157-
uses: TheDoctor0/zip-release@0.6.2
157+
uses: TheDoctor0/zip-release@0.7.6
158158
with:
159159
filename: ASAM_OSI_${{needs.setup.outputs.output1}}.zip
160160
directory: dist
161161
# Upload the created artifact for the publish job
162162
- name: Upload artifact
163-
uses: actions/upload-artifact@v3
163+
uses: actions/upload-artifact@v4
164164
with:
165165
name: deliverables
166166
path: dist/ASAM_OSI_${{needs.setup.outputs.output1}}.zip
@@ -173,7 +173,7 @@ jobs:
173173
steps:
174174
# Retrieve the previously uploaded deliverables artifact
175175
- name: Retrieve previous artifacts
176-
uses: actions/download-artifact@v3
176+
uses: actions/download-artifact@v4
177177
with:
178178
name: deliverables
179179
# Add the new zip file with the deliverables to the respective release

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ compile_commands.json
3232

3333
# Python-generated files
3434
__pycache__/
35+
.venv/
3536
*.py[cod]
3637
proto2cpp.log
3738
.clang-format

0 commit comments

Comments
 (0)