Skip to content

Commit a4228cf

Browse files
committed
Updated the .yml files for CI
Updated the version of the different actions in the yml config files for the Continues Integration.
1 parent bcccbf5 commit a4228cf

File tree

10 files changed

+56
-56
lines changed

10 files changed

+56
-56
lines changed

.github/workflows/ansible-tests.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@ name: "Run ansible tests"
77
on:
88
push:
99
branches: [develop, maintenance, master]
10-
paths-ignore:
11-
- '.github/**'
10+
# paths-ignore:
11+
# - '.github/**'
1212
pull_request:
1313
branches: [develop, maintenance]
14-
paths-ignore:
15-
- '.github/**'
14+
# paths-ignore:
15+
# - '.github/**'
1616

1717
jobs:
1818
ansible:
@@ -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: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@ name: "Build the documentation with sphinx"
77
on:
88
push:
99
branches: [develop, maintenance, master]
10-
paths-ignore:
11-
- '.github/**'
10+
# paths-ignore:
11+
# - '.github/**'
1212
pull_request:
1313
branches: [develop, maintenance]
14-
paths-ignore:
15-
- '.github/**'
14+
# paths-ignore:
15+
# - '.github/**'
1616

1717
jobs:
1818
documentationbuild:
@@ -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: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@ name: "CodeQL"
77
on:
88
push:
99
branches: [develop, maintenance, master]
10-
paths-ignore:
11-
- '.github/**'
10+
# paths-ignore:
11+
# - '.github/**'
1212
pull_request:
1313
branches: [develop, maintenance]
14-
paths-ignore:
15-
- '.github/**'
14+
# paths-ignore:
15+
# - '.github/**'
1616
schedule:
1717
- cron: '0 16 * * 5'
1818

@@ -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: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,12 @@ name: "Codespell spelling check"
88
on:
99
push:
1010
branches: [develop, maintenance, master]
11-
paths-ignore:
12-
- '.github/**'
11+
# paths-ignore:
12+
# - '.github/**'
1313
pull_request:
1414
branches: [develop, maintenance]
15-
paths-ignore:
16-
- '.github/**'
15+
# paths-ignore:
16+
# - '.github/**'
1717

1818
jobs:
1919
codespell:
@@ -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: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@ name: "Build Debian packages"
77
on:
88
push:
99
branches: [develop, maintenance, master]
10-
paths-ignore:
11-
- '.github/**'
10+
# paths-ignore:
11+
# - '.github/**'
1212
pull_request:
1313
branches: [develop, maintenance]
14-
paths-ignore:
15-
- '.github/**'
14+
# paths-ignore:
15+
# - '.github/**'
1616

1717
jobs:
1818
build:
@@ -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: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ name: "Build and upload docker image"
88
on:
99
push:
1010
branches: ['develop']
11-
paths-ignore:
12-
- '.github/**'
11+
# paths-ignore:
12+
# - '.github/**'
1313

1414
jobs:
1515
docker:
@@ -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: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,12 @@ name: "Run pycodestyle on repository"
88
on:
99
push:
1010
branches: [develop, maintenance, master]
11-
paths-ignore:
12-
- '.github/**'
11+
# paths-ignore:
12+
# - '.github/**'
1313
pull_request:
1414
branches: [develop, maintenance]
15-
paths-ignore:
16-
- '.github/**'
15+
# paths-ignore:
16+
# - '.github/**'
1717

1818
jobs:
1919
pycodestyle:
@@ -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: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,12 @@ name: "Regular expression check"
99
on:
1010
push:
1111
branches: [develop, maintenance, master]
12-
paths-ignore:
13-
- '.github/**'
12+
# paths-ignore:
13+
# - '.github/**'
1414
pull_request:
1515
branches: [develop, maintenance]
16-
paths-ignore:
17-
- '.github/**'
16+
# paths-ignore:
17+
# - '.github/**'
1818

1919
jobs:
2020
regexploit:
@@ -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: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ on:
88
push:
99
pull_request:
1010
branches: [develop, maintenance]
11-
paths-ignore:
12-
- '.github/**'
11+
# paths-ignore:
12+
# - '.github/**'
1313

1414
jobs:
1515
unittests:
@@ -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)