mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 22:58:20 +00:00
Merge remote-tracking branch 'origin/topic/bbannier/ci-pre-commit'
This commit is contained in:
commit
a1aff92c1a
2 changed files with 8 additions and 8 deletions
8
.github/workflows/generate-docs.yml
vendored
8
.github/workflows/generate-docs.yml
vendored
|
@ -24,12 +24,12 @@ jobs:
|
|||
# event, so we only need to authenticate in that case. Use
|
||||
# unauthenticated access otherwise so this action can e.g., also run from
|
||||
# clones.
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/checkout@v4
|
||||
if: github.event_name == 'schedule'
|
||||
with:
|
||||
submodules: "recursive"
|
||||
token: ${{ secrets.ZEEK_BOT_TOKEN }}
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/checkout@v4
|
||||
if: github.event_name != 'schedule'
|
||||
with:
|
||||
submodules: "recursive"
|
||||
|
@ -71,7 +71,7 @@ jobs:
|
|||
# `python2` so this is a simple workaround until we drop Python 2
|
||||
# support and explicitly use `python3` for all invocations.
|
||||
sudo ln -sf /usr/bin/python3 /usr/local/bin/python
|
||||
sudo pip3 install -r doc/requirements.txt
|
||||
sudo pip3 install --break-system-packages -r doc/requirements.txt
|
||||
|
||||
- name: ccache
|
||||
uses: hendrikmuhs/ccache-action@v1.2
|
||||
|
@ -131,7 +131,7 @@ jobs:
|
|||
# Only send notifications for scheduled runs. Runs from pull requests
|
||||
# show failures in the GitHub UI.
|
||||
if: failure() && github.event_name == 'schedule'
|
||||
uses: dawidd6/action-send-mail@v3.7.0
|
||||
uses: dawidd6/action-send-mail@v3.12.0
|
||||
with:
|
||||
server_address: ${{secrets.SMTP_HOST}}
|
||||
server_port: ${{secrets.SMTP_PORT}}
|
||||
|
|
8
.github/workflows/pre-commit.yml
vendored
8
.github/workflows/pre-commit.yml
vendored
|
@ -7,8 +7,8 @@ on:
|
|||
|
||||
jobs:
|
||||
pre-commit:
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: ubuntu-22.04
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/setup-python@v4
|
||||
- uses: pre-commit/action@v3.0.0
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/setup-python@v5
|
||||
- uses: pre-commit/action@v3.0.1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue