diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index cbaa07f56..9528070e9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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" diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 0fb2fc373..b34bf3eaa 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -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