From 49ce27a263416ee667dde7841fe69774d0f9b742 Mon Sep 17 00:00:00 2001 From: int-y1 Date: Mon, 27 May 2024 20:49:02 -0400 Subject: [PATCH] Update github action versions --- .github/workflows/build.yml | 18 +++++++++--------- .github/workflows/caniuse.yml | 2 +- .github/workflows/compilemessages.yml | 4 ++-- .github/workflows/makemessages.yml | 4 ++-- .github/workflows/updatemessages.yml | 4 ++-- 5 files changed, 16 insertions(+), 16 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 0297c46d6..56333b47a 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.7 - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: '3.7' - name: Install flake8 @@ -18,13 +18,13 @@ jobs: unit: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Python 3.7 - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: '3.7' - name: Cache pip - uses: actions/cache@v2 + uses: actions/cache@v4 with: path: ~/.cache/pip key: pip-${{ runner.os }}-${{ secrets.CACHE_VERSION }}-${{ hashFiles('requirements.txt') }} @@ -40,15 +40,15 @@ jobs: run: coverage run --source=. manage.py test judge - name: Generate coverage report run: coverage xml - - uses: codecov/codecov-action@v1 + - uses: codecov/codecov-action@v4 styles: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - name: Set up Node 18 + - uses: actions/checkout@v4 + - name: Set up Node 20 uses: actions/setup-node@v4 with: - node-version: 18 + node-version: 20 - name: Install npm packages run: npm install -g sass postcss-cli postcss autoprefixer - name: Build style.css diff --git a/.github/workflows/caniuse.yml b/.github/workflows/caniuse.yml index 1ed442244..409bc2a7e 100644 --- a/.github/workflows/caniuse.yml +++ b/.github/workflows/caniuse.yml @@ -7,7 +7,7 @@ jobs: if: github.repository == 'DMOJ/online-judge' runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Download Can I use... data run: | curl -s https://raw.githubusercontent.com/Fyrd/caniuse/master/data.json | python3 -m json.tool > resources/caniuse.json diff --git a/.github/workflows/compilemessages.yml b/.github/workflows/compilemessages.yml index fbffa40e5..106b353fb 100644 --- a/.github/workflows/compilemessages.yml +++ b/.github/workflows/compilemessages.yml @@ -10,9 +10,9 @@ jobs: compilemessages: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Python 3.7 - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: '3.7' - name: Checkout submodules diff --git a/.github/workflows/makemessages.yml b/.github/workflows/makemessages.yml index 7dbca77aa..c5bd6aef4 100644 --- a/.github/workflows/makemessages.yml +++ b/.github/workflows/makemessages.yml @@ -7,9 +7,9 @@ jobs: makemessages: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Python 3.7 - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: '3.7' - name: Checkout submodules diff --git a/.github/workflows/updatemessages.yml b/.github/workflows/updatemessages.yml index 9e1c2d01b..1c56045a8 100644 --- a/.github/workflows/updatemessages.yml +++ b/.github/workflows/updatemessages.yml @@ -7,11 +7,11 @@ jobs: if: github.repository == 'DMOJ/online-judge' runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0 - name: Set up Python 3.7 - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: '3.7' - name: Checkout submodules