diff --git a/.github/workflows/commit-checker.yml b/.github/workflows/commit-checker.yml index 91fc54b..511e6f3 100644 --- a/.github/workflows/commit-checker.yml +++ b/.github/workflows/commit-checker.yml @@ -10,12 +10,12 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 4 - name: Get pull-request commits - uses: OpenTTD/actions/checkout-pull-request@v2 + uses: OpenTTD/actions/checkout-pull-request@v5 - name: Check commits uses: OpenTTD/OpenTTD-git-hooks@main diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c5cfc0c..e3f1bd4 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -10,17 +10,17 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0 - name: Checkout tags - uses: openttd/actions/checkout@v3 + uses: openttd/actions/checkout@v5 with: with-tags: true - name: Set up Python - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: '3.8' diff --git a/.github/workflows/testing.yml b/.github/workflows/testing.yml index 5bb9d1c..84f44d7 100644 --- a/.github/workflows/testing.yml +++ b/.github/workflows/testing.yml @@ -14,27 +14,27 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Set up Python 3.8 - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: 3.8 - name: Install dependencies run: python -m pip install -e . - name: Initialize CodeQL - uses: github/codeql-action/init@v2 + uses: github/codeql-action/init@v3 with: languages: python queries: security-and-quality - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@v2 + uses: github/codeql-action/analyze@v3 flake8: name: Flake8 runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Flake8 uses: TrueBrain/actions-flake8@v2 with: @@ -45,9 +45,9 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Set up Python 3.8 - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: 3.8 - name: Black @@ -61,9 +61,9 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Set up Python 3.8 - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: 3.8 - name: Set up packages @@ -89,4 +89,4 @@ jobs: steps: - name: Check annotations - uses: OpenTTD/actions/annotation-check@v3 + uses: OpenTTD/actions/annotation-check@v5