Update actions in the github workflow

This commit is contained in:
gpotter2 2022-06-17 22:40:44 +02:00
parent 55cc74fd9e
commit 165dfae2e6
1 changed files with 12 additions and 12 deletions

View File

@ -13,9 +13,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout Scapy
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Setup Python
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: 3.9
- name: Install tox
@ -31,9 +31,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout Scapy
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Setup Python
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: 3.9
- name: Install tox
@ -45,9 +45,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout Scapy
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Setup Python
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: 3.9
- name: Install tox
@ -98,12 +98,12 @@ jobs:
mode: both
steps:
- name: Checkout Scapy
uses: actions/checkout@v2
uses: actions/checkout@v3
# Codecov requires a fetch-depth > 1
with:
fetch-depth: 2
- name: Setup Python
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python }}
- name: Install Tox and any other packages
@ -111,7 +111,7 @@ jobs:
- name: Run Tox
run: ./.config/ci/test.sh ${{ matrix.python }} ${{ matrix.mode }}
- name: Codecov
uses: codecov/codecov-action@v1
uses: codecov/codecov-action@v2
with:
file: /home/runner/work/scapy/scapy/.coverage
@ -123,12 +123,12 @@ jobs:
security-events: write
steps:
- name: Checkout repository
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
fetch-depth: 2
- name: Initialize CodeQL
uses: github/codeql-action/init@v1
uses: github/codeql-action/init@v2
with:
languages: 'python'
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v1
uses: github/codeql-action/analyze@v2