Skip to content

Commit 0e91ad5

Browse files
authored
Merge pull request #2392 from sebkuf/update_CI
Updated the action in the .yml files for CI
2 parents bcccbf5 + fda5a12 commit 0e91ad5

File tree

11 files changed

+25
-24
lines changed

11 files changed

+25
-24
lines changed

.github/workflows/ansible-tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,12 @@ jobs:
2222

2323
steps:
2424
- name: Checkout repository
25-
uses: actions/checkout@v2
25+
uses: actions/checkout@v3
2626
with:
2727
path: ./src/intelmq
2828

2929
- name: Checkout ansible scripts
30-
uses: actions/checkout@v2
30+
uses: actions/checkout@v3
3131
with:
3232
repository: certtools/intelmq-vagrant
3333
path: ./src/intelmq-vagrant

.github/workflows/build-docs.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,10 @@ jobs:
2525

2626
steps:
2727
- name: Checkout repository
28-
uses: actions/checkout@v2
28+
uses: actions/checkout@v3
2929

3030
- name: Set up Python ${{ matrix.python-version }}
31-
uses: actions/setup-python@v2
31+
uses: actions/setup-python@v4
3232
with:
3333
python-version: ${{ matrix.python-version }}
3434

.github/workflows/codeql-analysis.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,20 +28,20 @@ jobs:
2828

2929
steps:
3030
- name: Checkout repository
31-
uses: actions/checkout@v2
31+
uses: actions/checkout@v3
3232
with:
3333
fetch-depth: 2
3434

3535
- run: git checkout HEAD^2
3636
if: ${{ github.event_name == 'pull_request' }}
3737

3838
- name: Initialize CodeQL
39-
uses: github/codeql-action/init@v1
39+
uses: github/codeql-action/init@v2
4040
with:
4141
languages: ${{ matrix.language }}
4242

4343
- name: Autobuild
44-
uses: github/codeql-action/autobuild@v1
44+
uses: github/codeql-action/autobuild@v2
4545

4646
- name: Perform CodeQL Analysis
47-
uses: github/codeql-action/analyze@v1
47+
uses: github/codeql-action/analyze@v2

.github/workflows/codespell.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424

2525
steps:
2626
- name: Checkout repository
27-
uses: actions/checkout@v2
27+
uses: actions/checkout@v3
2828
- name: Install codespell
2929
run: pip install "codespell==2.2.4"
3030
- name: Run codespell

.github/workflows/debian-package.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,14 +27,14 @@ jobs:
2727

2828
steps:
2929
- name: Checkout repository
30-
uses: actions/checkout@v2
30+
uses: actions/checkout@v3
3131

3232
- name: Build package
3333
run: bash .github/workflows/scripts/debian-package.sh ${{ matrix.codename }}
3434

3535
- name: Upload artifact
3636
if: ${{ github.event_name == 'push' }}
37-
uses: actions/upload-artifact@v2
37+
uses: actions/upload-artifact@v3
3838
with:
3939
name: debian-package-${{ matrix.codename }}-${{ github.sha }}
4040
path: '~/artifacts'

.github/workflows/docker.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -22,40 +22,40 @@ jobs:
2222
if: ${{ env.ACT }}
2323

2424
- name: Checkout IntelMQ-Docker
25-
uses: actions/checkout@v2
25+
uses: actions/checkout@v3
2626
with:
2727
ref: 'main'
2828
repository: certat/intelmq-docker
2929
path: ./work
3030

3131
- name: Checkout IntelMQ-Manager
32-
uses: actions/checkout@v2
32+
uses: actions/checkout@v3
3333
with:
3434
ref: 'develop'
3535
repository: certtools/intelmq-manager
3636
path: ./work/intelmq-manager
3737

3838
- name: Checkout IntelMQ-API
39-
uses: actions/checkout@v2
39+
uses: actions/checkout@v3
4040
with:
4141
ref: 'develop'
4242
repository: certtools/intelmq-api
4343
path: ./work/intelmq-api
4444

4545
- name: Checkout IntelMQ
46-
uses: actions/checkout@v2
46+
uses: actions/checkout@v3
4747
with:
4848
ref: 'develop'
4949
path: ./work/intelmq
5050

5151
- name: Setup QEMU
52-
uses: docker/setup-qemu-action@v1
52+
uses: docker/setup-qemu-action@v2
5353

5454
- name: Setup Docker Buildx
55-
uses: docker/setup-buildx-action@v1
55+
uses: docker/setup-buildx-action@v2
5656

5757
- name: Login to DockerHub
58-
uses: docker/login-action@v1
58+
uses: docker/login-action@v2
5959
if: github.repository == 'certtools/intelmq' && !${{ env.ACT }}
6060
with:
6161
username: ${{ secrets.DOCKERHUB_USERNAME }}

.github/workflows/pycodestyle.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222

2323
steps:
2424
- name: Checkout repository
25-
uses: actions/checkout@v2
25+
uses: actions/checkout@v3
2626
- name: Install pycodestyle
2727
run: |
2828
sudo apt update

.github/workflows/regexploit.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525

2626
steps:
2727
- name: Checkout repository
28-
uses: actions/checkout@v2
28+
uses: actions/checkout@v3
2929
- name: Install regexploit
3030
run: pip install regexploit
3131
- name: Run regexploit

.github/workflows/reuse.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,6 @@ jobs:
2222

2323
steps:
2424
- name: Checkout repository
25-
uses: actions/checkout@v2
25+
uses: actions/checkout@v3
2626
- name: REUSE compliance check
27-
uses: fsfe/reuse-action@v1
27+
uses: fsfe/reuse-action@v2

.github/workflows/unittests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,10 +45,10 @@ jobs:
4545

4646
steps:
4747
- name: Checkout repository
48-
uses: actions/checkout@v2
48+
uses: actions/checkout@v3
4949

5050
- name: Set up Python ${{ matrix.python-version }}
51-
uses: actions/setup-python@v2
51+
uses: actions/setup-python@v4
5252
with:
5353
python-version: ${{ matrix.python-version }}
5454

0 commit comments

Comments
 (0)