CI: Bump versions of the deprecated github actions to the latest

This commit is contained in:
pagedown
2023-02-11 20:33:29 +08:00
parent 3c7df680cf
commit d1e54a1d3b
2 changed files with 8 additions and 8 deletions

View File

@@ -50,7 +50,7 @@ jobs:
fetch-depth: 10
- name: Set up Python ${{ matrix.pyver }}
uses: actions/setup-python@v3
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.pyver }}
@@ -80,7 +80,7 @@ jobs:
run: if grep -Inr '\s$' kitty kitty_tests kittens docs *.py *.asciidoc *.rst *.go .gitattributes .gitignore; then echo Trailing whitespace found, aborting.; exit 1; fi
- name: Set up Python
uses: actions/setup-python@v3
uses: actions/setup-python@v4
with:
python-version: "3.10"
@@ -104,7 +104,7 @@ jobs:
- name: Build kitty
run: python setup.py build --debug
- name: Build static kitty-tool
- name: Build static kitten
run: python setup.py build-static-binaries
- name: Run mypy
@@ -129,7 +129,7 @@ jobs:
KITTY_BUNDLE: 1
steps:
- name: Checkout source code
uses: actions/checkout@master
uses: actions/checkout@v3
with:
fetch-depth: 10
@@ -149,12 +149,12 @@ jobs:
runs-on: macos-latest
steps:
- name: Checkout source code
uses: actions/checkout@master
uses: actions/checkout@v3
with:
fetch-depth: 0 # needed for :commit: docs role
- name: Set up Python
uses: actions/setup-python@v3
uses: actions/setup-python@v4
with:
python-version: "3.10"

View File

@@ -39,11 +39,11 @@ jobs:
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
with:
languages: python, c
languages: python, c, go
setup-python-dependencies: false
- name: Build kitty
run: python3 .github/workflows/ci.py build
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v1
uses: github/codeql-action/analyze@v2