Skip to content

Commit 064d3ef

Browse files
committed
upd: workflow
1 parent ce8233b commit 064d3ef

File tree

2 files changed

+5
-9
lines changed

2 files changed

+5
-9
lines changed

.github/workflows/docker_auto.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ jobs:
1515
env:
1616
DOCKER_PLATFORMS: linux/amd64,linux/arm64
1717
DOCKER_IMAGE: ghtardo/docker-privoxy-https
18-
LASTEST_VERSION: "4.0.0"
19-
PRIVOXY_VERSION: "4.0.0"
18+
LASTEST_VERSION: "${{ github.event.repository.default_branch }}"
19+
PRIVOXY_VERSION: "${{ github.ref_name }}"
2020
steps:
2121
- name: Set up QEMU
2222
uses: docker/setup-qemu-action@v3

.github/workflows/test.yml

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -38,17 +38,13 @@ jobs:
3838
- uses: pre-commit/action@v3.0.1
3939

4040
privoxy:
41-
strategy:
42-
matrix:
43-
privoxy_version: [4.0.0]
44-
python-version: [3.13]
45-
fail-fast: false
4641
runs-on: ubuntu-latest
4742
needs: pre-commit
4843
env:
4944
DEBIAN_FRONTEND: noninteractive
5045
PYTHONDONTWRITEBYTECODE: 1
5146
PYTHONUNBUFFERED: 1
47+
PYTHON_VERSION: "3.13"
5248

5349
steps:
5450
- uses: actions/cache@v4
@@ -69,7 +65,7 @@ jobs:
6965
- name: Set up Python
7066
uses: actions/setup-python@v6
7167
with:
72-
python-version: ${{ matrix.python-version }}
68+
python-version: ${{ env.PYTHON_VERSION }}
7369

7470
- name: Install poetry
7571
uses: abatilo/actions-poetry@v3
@@ -82,4 +78,4 @@ jobs:
8278
poetry install
8379
8480
- name: Run pytest
85-
run: poetry run pytest --privoxy-version ${{ matrix.privoxy_version }} --no-cache -v
81+
run: poetry run pytest --privoxy-version ${{ github.ref_name }} --no-cache -v

0 commit comments

Comments
 (0)