mirror of
https://github.com/zeek/zeek.git
synced 2025-10-16 21:48:21 +00:00
Merge branch 'topic/jgras/dependabot-updates' of https://github.com/J-Gras/zeek
* 'topic/jgras/dependabot-updates' of https://github.com/J-Gras/zeek: Bump actions/checkout from 2 to 3 Bump actions/upload-artifact from 2 to 3 Bump dawidd6/action-send-mail from 3.6.1 to 3.7.0 Bump actions/setup-python from 2 to 4 Bump docker/login-action from 1 to 2
This commit is contained in:
commit
97291efec8
4 changed files with 14 additions and 14 deletions
2
.github/workflows/coverity-scan.yml
vendored
2
.github/workflows/coverity-scan.yml
vendored
|
@ -13,7 +13,7 @@ jobs:
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-20.04
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v3.1.0
|
||||||
with:
|
with:
|
||||||
submodules: "recursive"
|
submodules: "recursive"
|
||||||
|
|
||||||
|
|
16
.github/workflows/docker.yml
vendored
16
.github/workflows/docker.yml
vendored
|
@ -28,7 +28,7 @@ jobs:
|
||||||
TEST_TAG: zeek:latest
|
TEST_TAG: zeek:latest
|
||||||
CONFFLAGS: --generator=Ninja --build-type=Release
|
CONFFLAGS: --generator=Ninja --build-type=Release
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v3.1.0
|
||||||
with:
|
with:
|
||||||
submodules: "recursive"
|
submodules: "recursive"
|
||||||
|
|
||||||
|
@ -77,7 +77,7 @@ jobs:
|
||||||
fi
|
fi
|
||||||
|
|
||||||
- name: Login to DockerHub
|
- name: Login to DockerHub
|
||||||
uses: docker/login-action@v1
|
uses: docker/login-action@v2
|
||||||
# Don't publish on forks. Also note that secrets for the login are not
|
# Don't publish on forks. Also note that secrets for the login are not
|
||||||
# available for pull requests, so trigger on pushes only.
|
# available for pull requests, so trigger on pushes only.
|
||||||
if: github.repository == 'zeek/zeek' && github.event_name == 'push'
|
if: github.repository == 'zeek/zeek' && github.event_name == 'push'
|
||||||
|
@ -99,14 +99,14 @@ jobs:
|
||||||
zeekurity/${{ steps.target.outputs.tag }}
|
zeekurity/${{ steps.target.outputs.tag }}
|
||||||
|
|
||||||
- name: Preserve image artifact
|
- name: Preserve image artifact
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: ${{ env.IMAGE_NAME }}
|
name: ${{ env.IMAGE_NAME }}
|
||||||
path: ${{ env.IMAGE_FILE }}
|
path: ${{ env.IMAGE_FILE }}
|
||||||
retention-days: 1
|
retention-days: 1
|
||||||
|
|
||||||
- name: Preserve btest artifacts
|
- name: Preserve btest artifacts
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v3
|
||||||
if: failure()
|
if: failure()
|
||||||
with:
|
with:
|
||||||
name: docker-btest
|
name: docker-btest
|
||||||
|
@ -122,7 +122,7 @@ jobs:
|
||||||
# Grab the sources so we have access to btest. Could also use pip, but it
|
# Grab the sources so we have access to btest. Could also use pip, but it
|
||||||
# seems appealing to be using the in-tree version of btest. btest is in a
|
# seems appealing to be using the in-tree version of btest. btest is in a
|
||||||
# submodule; we check it out selectively to save time.
|
# submodule; we check it out selectively to save time.
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v3.1.0
|
||||||
- name: Check out btest
|
- name: Check out btest
|
||||||
run: git submodule update --init ./auxil/btest
|
run: git submodule update --init ./auxil/btest
|
||||||
|
|
||||||
|
@ -144,7 +144,7 @@ jobs:
|
||||||
echo "TESTSUITE_COMMIT=$(cat ./testing/external/commit-hash.zeek-testing-cluster)" >> $GITHUB_ENV
|
echo "TESTSUITE_COMMIT=$(cat ./testing/external/commit-hash.zeek-testing-cluster)" >> $GITHUB_ENV
|
||||||
|
|
||||||
- name: Retrieve cluster testsuite
|
- name: Retrieve cluster testsuite
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v3.1.0
|
||||||
with:
|
with:
|
||||||
repository: zeek/zeek-testing-cluster
|
repository: zeek/zeek-testing-cluster
|
||||||
path: testing/external/zeek-testing-cluster
|
path: testing/external/zeek-testing-cluster
|
||||||
|
@ -162,7 +162,7 @@ jobs:
|
||||||
find testing/external/zeek-testing-cluster/.tmp -depth -execdir rename 's/[":<>|*?\r\n]/./g' "{}" \;
|
find testing/external/zeek-testing-cluster/.tmp -depth -execdir rename 's/[":<>|*?\r\n]/./g' "{}" \;
|
||||||
|
|
||||||
- name: Preserve btest artifacts
|
- name: Preserve btest artifacts
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v3
|
||||||
if: failure()
|
if: failure()
|
||||||
with:
|
with:
|
||||||
name: cluster-btest
|
name: cluster-btest
|
||||||
|
@ -176,7 +176,7 @@ jobs:
|
||||||
truncate -s0 ${{ env.IMAGE_FILE }}
|
truncate -s0 ${{ env.IMAGE_FILE }}
|
||||||
|
|
||||||
- name: Store truncated image artifact
|
- name: Store truncated image artifact
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: ${{ env.IMAGE_NAME }}
|
name: ${{ env.IMAGE_NAME }}
|
||||||
path: ${{ env.IMAGE_FILE }}
|
path: ${{ env.IMAGE_FILE }}
|
||||||
|
|
6
.github/workflows/generate-docs.yml
vendored
6
.github/workflows/generate-docs.yml
vendored
|
@ -24,12 +24,12 @@ jobs:
|
||||||
# event, so we only need to authenticate in that case. Use
|
# event, so we only need to authenticate in that case. Use
|
||||||
# unauthenticated access otherwise so this action can e.g., also run from
|
# unauthenticated access otherwise so this action can e.g., also run from
|
||||||
# clones.
|
# clones.
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v3.1.0
|
||||||
if: github.event_name == 'schedule'
|
if: github.event_name == 'schedule'
|
||||||
with:
|
with:
|
||||||
submodules: "recursive"
|
submodules: "recursive"
|
||||||
token: ${{ secrets.ZEEK_BOT_TOKEN }}
|
token: ${{ secrets.ZEEK_BOT_TOKEN }}
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v3.1.0
|
||||||
if: github.event_name != 'schedule'
|
if: github.event_name != 'schedule'
|
||||||
with:
|
with:
|
||||||
submodules: "recursive"
|
submodules: "recursive"
|
||||||
|
@ -121,7 +121,7 @@ jobs:
|
||||||
# Only send notifications for scheduled runs. Runs from pull requests
|
# Only send notifications for scheduled runs. Runs from pull requests
|
||||||
# show failures in the Github UI.
|
# show failures in the Github UI.
|
||||||
if: failure() && github.event_name == 'schedule'
|
if: failure() && github.event_name == 'schedule'
|
||||||
uses: dawidd6/action-send-mail@v3.6.1
|
uses: dawidd6/action-send-mail@v3.7.0
|
||||||
with:
|
with:
|
||||||
server_address: ${{secrets.SMTP_HOST}}
|
server_address: ${{secrets.SMTP_HOST}}
|
||||||
server_port: ${{secrets.SMTP_PORT}}
|
server_port: ${{secrets.SMTP_PORT}}
|
||||||
|
|
4
.github/workflows/pre-commit.yml
vendored
4
.github/workflows/pre-commit.yml
vendored
|
@ -9,6 +9,6 @@ jobs:
|
||||||
pre-commit:
|
pre-commit:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v3.1.0
|
||||||
- uses: actions/setup-python@v2
|
- uses: actions/setup-python@v4
|
||||||
- uses: pre-commit/action@v3.0.0
|
- uses: pre-commit/action@v3.0.0
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue