Skip to content

Commit

Permalink
Update dependencies in actions (#2187)
Browse files Browse the repository at this point in the history
  • Loading branch information
yngvar-antonsson authored Feb 6, 2024
1 parent 7ebaa1a commit bb0cb61
Show file tree
Hide file tree
Showing 9 changed files with 42 additions and 42 deletions.
32 changes: 16 additions & 16 deletions .github/workflows/backend-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,17 +17,17 @@ jobs:
misc:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '16.8.0'
- uses: actions/setup-python@v4
- uses: actions/setup-python@v5
with:
python-version: '3.10.0'

# Setup sphinx
- name: Cache pip packages
uses: actions/cache@v3
uses: actions/cache@v4
id: cache-venv
with:
path: ./venv
Expand All @@ -45,7 +45,7 @@ jobs:

# Setup luacheck and ldoc
- name: Cache rocks
uses: actions/cache@v3
uses: actions/cache@v4
id: cache-rocks
with:
path: .rocks/
Expand All @@ -58,7 +58,7 @@ jobs:

# Setup graphql cli
- name: Cache npm
uses: actions/cache@v3
uses: actions/cache@v4
id: cache-npm
with:
path: node_modules
Expand Down Expand Up @@ -98,10 +98,10 @@ jobs:
metrics: '1.0.0'
runs-on: ubuntu-20.04
steps:
- uses: actions/setup-python@v4
- uses: actions/setup-python@v5
with:
python-version: '3.9.8'
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- if: matrix.tarantool != 'latest'
uses: tarantool/setup-tarantool@v2
with:
Expand All @@ -124,7 +124,7 @@ jobs:

# Setup luatest
- name: Cache rocks
uses: actions/cache@v3
uses: actions/cache@v4
id: cache-rocks
with:
path: .rocks/
Expand All @@ -135,7 +135,7 @@ jobs:

# Setup pytest
- name: Cache pytest
uses: actions/cache@v3
uses: actions/cache@v4
id: cache-pytest
with:
path: ./pytest-venv
Expand All @@ -158,7 +158,7 @@ jobs:
- name: 'Stop Mono server'
run: sudo kill -9 $(sudo lsof -t -i tcp:8084) || true

- uses: nick-fields/retry@v2
- uses: nick-fields/retry@v3
with:
max_attempts: 3
retry_on: error
Expand Down Expand Up @@ -187,14 +187,14 @@ jobs:
etcd: ['v2.3.8', 'v3.5.0']
fail-fast: false
steps:
- uses: actions/setup-python@v4
- uses: actions/setup-python@v5
with:
python-version: '3.9.8'
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Cache Tarantool SDK
id: cache-sdk
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: tarantool-enterprise
key: ${{ matrix.sdk-version }}
Expand Down Expand Up @@ -230,7 +230,7 @@ jobs:

# Setup pytest
- name: Cache pytest
uses: actions/cache@v3
uses: actions/cache@v4
id: cache-pytest
with:
path: ./pytest-venv
Expand All @@ -248,7 +248,7 @@ jobs:
- name: 'Stop Mono server'
run: sudo kill -9 $(sudo lsof -t -i tcp:8084) || true

- uses: nick-fields/retry@v2
- uses: nick-fields/retry@v3
with:
max_attempts: 3
retry_on: error
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/compatibility-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,15 +38,15 @@ jobs:
CARTRIDGE_OLDER_VERSION: ${{ matrix.cartridge }}-1
CARTRIDGE_DOWNGRADE: ${{ matrix.downgrade }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: tarantool/setup-tarantool@v2
with:
tarantool-version: '${{ matrix.tarantool }}'

# Setup older cartridge for compatibility.cartridge_upgrade_test
- name: Cache ${{ env.CARTRIDGE_OLDER_PATH }}
id: cache-older-cartridge
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ${{ env.CARTRIDGE_OLDER_PATH }}
key: ${{ env.CARTRIDGE_OLDER_PATH }}
Expand All @@ -60,7 +60,7 @@ jobs:
# Setup luatest
- name: Cache rocks
uses: actions/cache@v3
uses: actions/cache@v4
id: cache-rocks
with:
path: .rocks/
Expand Down
18 changes: 9 additions & 9 deletions .github/workflows/frontend-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ jobs:
- cypress
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '16.8.0'

Expand All @@ -32,7 +32,7 @@ jobs:
##################################################################
# Setup rocks
- name: Cache rocks
uses: actions/cache@v3
uses: actions/cache@v4
id: cache-rocks
with:
path: .rocks/
Expand All @@ -44,15 +44,15 @@ jobs:
##################################################################
# Cachce node_modules
- name: Cache node_modules
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: webui/node_modules/
key: node-modules-${{ hashFiles('webui/package-lock.json') }}

##################################################################
# Cachce webui bundle
- name: Cache webui bundle
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
webui/build/bundle.lua
Expand All @@ -65,7 +65,7 @@ jobs:
- name: Cache cypress
if: matrix.script == 'cypress'
id: cache-cypress
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
./node_modules
Expand Down Expand Up @@ -95,7 +95,7 @@ jobs:
run: ./cypress-test.sh run

- name: Create upload folder for screenshots
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: failure() && matrix.script == 'cypress'
with:
name: ${{ matrix.script }}-screenshots-from-server
Expand All @@ -104,7 +104,7 @@ jobs:
if-no-files-found: ignore

- name: Create upload folder for diff outputs
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: failure() && matrix.script == 'cypress'
with:
name: ${{ matrix.script }}-snapshots-diff-output-from-server
Expand All @@ -113,7 +113,7 @@ jobs:
if-no-files-found: ignore

- name: Create upload folder for snapshots
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: always() && matrix.script == 'cypress'
with:
name: ${{ matrix.script }}-snapshots-from-server
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/nightly-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
tarantool: ['1.10', '2.7', '2.8']
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: tarantool/setup-tarantool@v2
with:
tarantool-version: '${{ matrix.tarantool }}'
Expand All @@ -35,7 +35,7 @@ jobs:

# Setup luatest
- name: Cache rocks
uses: actions/cache@v3
uses: actions/cache@v4
id: cache-rocks
with:
path: .rocks/
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
if: github.ref == 'refs/heads/master'
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: tarantool/rocks.tarantool.org/github-action@master
with:
auth: ${{ secrets.ROCKS_AUTH }}
Expand All @@ -34,11 +34,11 @@ jobs:
CMAKE_LDOC_FIND_REQUIRED: 'YES'
CMAKE_SPHINX_FIND_REQUIRED: 'YES'
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '16.8.0'
- uses: actions/setup-python@v4
- uses: actions/setup-python@v5
with:
python-version: '3.9'
- run: python -m pip install -r rst/requirements.txt
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/pull-translation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
token: "${{ secrets.PRIVATE_REPO_ACCESS_TOKEN }}"

Expand All @@ -23,7 +23,7 @@ jobs:
tarantool-version: '2.6'

- name: Setup Python environment
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: '3.9'

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/push-translation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Set branch name from source branch
run: echo "BRANCH_NAME=${GITHUB_HEAD_REF##*/}" >> $GITHUB_ENV
Expand All @@ -30,7 +30,7 @@ jobs:
tarantool-version: '2.6'

- name: Setup Python environment
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: '3.9'

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/reusable-backend-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
runs-on: ubuntu-20.04
steps:
- name: 'Clone the cartridge module'
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
repository: ${{ github.repository_owner }}/cartridge

Expand All @@ -46,7 +46,7 @@ jobs:
run: tarantoolctl rocks install luatest 1.0.1

# Setup pytest
- uses: actions/setup-python@v4
- uses: actions/setup-python@v5
with:
python-version: 3.7
- name: 'Install pytest'
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/upload-translations.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,15 @@ jobs:
steps:

- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Setup tarantool
uses: tarantool/setup-tarantool@v2
with:
tarantool-version: '2.6'

- name: Setup Python environment
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: '3.9'

Expand Down

0 comments on commit bb0cb61

Please sign in to comment.