Skip to content

Commit 38ec44d

Browse files
committed
chore(ci): pin GitHub Actions to specific versions
1 parent 92c93db commit 38ec44d

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

.github/workflows/python-app.yml

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,13 @@ jobs:
2020
runs-on: ubuntu-latest
2121
steps:
2222
- name: Checkout repository
23-
uses: actions/checkout@v4
23+
uses: actions/checkout@v4.2.2
2424

2525
- name: Lint commit messages
26-
uses: wagoid/commitlint-github-action@v6
26+
uses: wagoid/commitlint-github-action@v6.2.1
2727

2828
- name: Set up Python ${{ env.PYTHON_VERSION }}
29-
uses: actions/setup-python@v5
29+
uses: actions/setup-python@v5.6.0
3030
with:
3131
python-version: ${{ env.PYTHON_VERSION }}
3232
cache: 'pip'
@@ -45,10 +45,10 @@ jobs:
4545
runs-on: ubuntu-latest
4646
steps:
4747
- name: Checkout repository
48-
uses: actions/checkout@v4
48+
uses: actions/checkout@v4.2.2
4949

5050
- name: Set up Python ${{ env.PYTHON_VERSION }}
51-
uses: actions/setup-python@v5
51+
uses: actions/setup-python@v5.6.0
5252
with:
5353
python-version: ${{ env.PYTHON_VERSION }}
5454
cache: 'pip'
@@ -67,7 +67,7 @@ jobs:
6767
pytest --cov=./ --cov-report=xml --cov-report=term
6868
6969
- name: Upload coverage report artifact
70-
uses: actions/upload-artifact@v4
70+
uses: actions/upload-artifact@v4.6.2
7171
with:
7272
name: coverage.xml
7373
path: ./coverage.xml
@@ -80,23 +80,23 @@ jobs:
8080
service: [codecov, codacy]
8181
steps:
8282
- name: Checkout repository
83-
uses: actions/checkout@v4
83+
uses: actions/checkout@v4.2.2
8484

8585
- name: Download coverage report artifact
86-
uses: actions/download-artifact@v4
86+
uses: actions/download-artifact@v4.3.0
8787
with:
8888
name: coverage.xml
8989

9090
- name: Upload coverage report to ${{ matrix.service }}
9191
if: ${{ matrix.service == 'codecov' }}
92-
uses: codecov/codecov-action@v5
92+
uses: codecov/codecov-action@v5.4.3
9393
with:
9494
token: ${{ secrets.CODECOV_TOKEN }}
9595
files: coverage.xml
9696

9797
- name: Upload coverage report to ${{ matrix.service }}
9898
if: ${{ matrix.service == 'codacy' }}
99-
uses: codacy/codacy-coverage-reporter-action@v1
99+
uses: codacy/codacy-coverage-reporter-action@v1.3.0
100100
with:
101101
project-token: ${{ secrets.CODACY_PROJECT_TOKEN }}
102102
coverage-reports: coverage.xml
@@ -112,20 +112,20 @@ jobs:
112112

113113
steps:
114114
- name: Checkout repository
115-
uses: actions/checkout@v4
115+
uses: actions/checkout@v4.2.2
116116

117117
- name: Log in to GitHub Container Registry
118-
uses: docker/login-action@v3
118+
uses: docker/login-action@v3.4.0
119119
with:
120120
registry: ghcr.io
121121
username: ${{ github.actor }}
122122
password: ${{ secrets.GITHUB_TOKEN }}
123123

124124
- name: Set up Docker Buildx
125-
uses: docker/setup-buildx-action@v3
125+
uses: docker/setup-buildx-action@v3.10.0
126126

127127
- name: Build and push Docker image to GitHub Container Registry
128-
uses: docker/build-push-action@v6
128+
uses: docker/build-push-action@v6.17.0
129129
with:
130130
context: .
131131
push: true

0 commit comments

Comments
 (0)