From dd6599b9f07e0ea9b4dce4e7d47058a1ece888b5 Mon Sep 17 00:00:00 2001 From: int-y1 Date: Sat, 21 Dec 2024 19:17:21 -0500 Subject: [PATCH] ci: update workflow versions --- .github/workflows/build.yml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b389b93c0..1d2c7ec18 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -4,9 +4,9 @@ jobs: lint: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Python 3.10 - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: '3.10' - name: Install Black and Flake8 @@ -26,9 +26,9 @@ jobs: mypy: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Python 3.10 - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: '3.10' - name: Install dependencies and mypy @@ -42,9 +42,9 @@ jobs: test-sdist: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Python 3.10 - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: '3.10' - name: Install build dependencies @@ -63,7 +63,7 @@ jobs: matrix: python-version: [ '3.7', '3.8', '3.9', '3.10', '3.11' ] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Download docker image run: docker pull dmoj/runtimes-tier3 - name: Install python @@ -97,7 +97,7 @@ jobs: EOF chmod a+x run run-su - - uses: actions/cache@v2 + - uses: actions/cache@v4 with: path: ~/docker-cache key: ${{ runner.os }}-python-${{ matrix.python-version }}-pip-${{ hashFiles('**/requirements.txt') }} @@ -119,7 +119,7 @@ jobs: matrix: python-version: [ '3.11' ] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Download docker image run: docker pull dmoj/runtimes-tier3 - name: Create docker scripts