Skip to content

Commit

Permalink
Update github action versions
Browse files Browse the repository at this point in the history
  • Loading branch information
Lars Holmberg committed Aug 15, 2024
1 parent 88f1abe commit 6affd0f
Showing 1 changed file with 20 additions and 20 deletions.
40 changes: 20 additions & 20 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
with:
fetch-depth: 0
# Set up Python and virtual environment
- uses: actions/setup-python@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python }}
- name: Make venv
Expand All @@ -51,7 +51,7 @@ jobs:
poetry config virtualenvs.create false
poetry self add "poetry-dynamic-versioning[plugin]"
- name: Cache the virtualenv
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: .venv
key: ${{ runner.os }}-venv-${{ hashFiles('pyproject.toml') }}
Expand All @@ -68,7 +68,7 @@ jobs:
run: echo "PY=$(python -VV | sha256sum | cut -d' ' -f1)" >> $GITHUB_ENV
# Install node and yarn in order to build the front end during packaging
- name: Set Node.js 20.x
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 20.x
- name: Install Yarn
Expand All @@ -79,24 +79,24 @@ jobs:
lint_typecheck_test_webui:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Set Node.js 20.x
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 20.x
- uses: borales/actions-yarn@v3
- uses: borales/actions-yarn@v4
with:
cmd: webui:install
- uses: borales/actions-yarn@v3
- uses: borales/actions-yarn@v4
with:
cmd: webui:build
- uses: borales/actions-yarn@v3
- uses: borales/actions-yarn@v4
with:
cmd: webui:test
- uses: borales/actions-yarn@v3
- uses: borales/actions-yarn@v4
with:
cmd: webui:lint
- uses: borales/actions-yarn@v3
- uses: borales/actions-yarn@v4
with:
cmd: webui:type-check

Expand All @@ -105,12 +105,12 @@ jobs:
runs-on: ubuntu-latest
if: github.event_name != 'pull_request' # PR build doesnt get proper version, so dont try to build it
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0
# The following steps aren't needed, but if you want 100% guarantee the tagged/release build will work you can add them
# - name: Set up Python
# uses: actions/setup-python@v4
# uses: actions/setup-python@v5
# with:
# python-version: "3.x"
# - name: Install dependencies
Expand Down Expand Up @@ -146,11 +146,11 @@ jobs:
runs-on: ubuntu-latest
if: startsWith(github.event.ref, 'refs/tags') && github.repository_owner == 'locustio'
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Python
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: "3.x"
- name: Install dependencies
Expand Down Expand Up @@ -186,15 +186,15 @@ jobs:
if: startsWith(github.event.ref, 'refs/tags') && github.repository_owner == 'locustio'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Python
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: "3.x"
- name: Set Node.js 20.x
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 20.x
- name: Install Yarn
Expand Down Expand Up @@ -236,15 +236,15 @@ jobs:
if: github.ref == 'refs/heads/master' && github.repository_owner == 'locustio'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Python
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: "3.x"
- name: Set Node.js 20.x
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 20.x
- name: Install Yarn
Expand Down

0 comments on commit 6affd0f

Please sign in to comment.