Skip to content

Commit 648a8c4

Browse files
update .github/workflows (#256)
- update .github/workflows to github-hosted-static-ip; - drop python 3.7 from pr_check.yml (EOL)
1 parent e7c2dc6 commit 648a8c4

6 files changed

Lines changed: 8 additions & 9 deletions

File tree

.github/workflows/codeql-analysis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ on:
1313
jobs:
1414
analyse:
1515
name: Analyse
16-
runs-on: ubuntu-latest
16+
runs-on: github-hosted-static-ip
1717

1818
steps:
1919
- name: Checkout repository

.github/workflows/dependencies_check.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ on:
1414
jobs:
1515
test:
1616
name: Check dependencies sync between pyproject.toml and requirements.txt
17-
runs-on: ubuntu-22.04
17+
runs-on: github-hosted-static-ip
1818
steps:
1919
- uses: actions/checkout@master
2020
- name: Set up Python 3.13

.github/workflows/pr_check.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@ on:
1010
jobs:
1111
test:
1212
name: Check code against linter/unit tests
13-
runs-on: ubuntu-22.04
13+
runs-on: github-hosted-static-ip
1414
strategy:
1515
matrix:
16-
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11', '3.12', '3.13']
16+
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12', '3.13']
1717
steps:
1818
- uses: actions/checkout@master
1919
- name: Set up Python ${{ matrix.python-version }}

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77
jobs:
88
build-publish:
99
name: Build and publish Python distributions
10-
runs-on: ubuntu-22.04
10+
runs-on: github-hosted-static-ip
1111
steps:
1212
- uses: actions/checkout@master
1313
- name: Set up Python

.github/workflows/security.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ on:
1010

1111
jobs:
1212
security:
13-
runs-on: self-hosted
13+
runs-on: github-hosted-static-ip
1414
steps:
1515
- uses: actions/checkout@v4
1616
with:

tox.ini

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
[tox]
2-
envlist={py37}-unit,{py38}-unit,{py39}-unit,{py310}-unit,{py311}-unit,{py312}-unit,{py313}-unit
2+
envlist={py38}-unit,{py39}-unit,{py310}-unit,{py311}-unit,{py312}-unit,{py313}-unit
33
skipsdist=true
44

55
[gh-actions]
66
python =
7-
3.7: py37-unit
87
3.8: py38-unit
98
3.9: py39-unit
109
3.10: py310-unit
@@ -22,7 +21,7 @@ commands =
2221
[testenv:tf_test]
2322
whitelist_externals=rm
2423
passenv = TERRAFORM_CONFIG
25-
basepython=python3.7
24+
basepython=python3.12
2625
commands =
2726
pip install --upgrade -r test-requirements.txt -e .
2827
rm -f hcl2/lark_parser.py

0 commit comments

Comments
 (0)