Update actions in workflows to latest versions (#3111)

This commit is contained in:
Francesco Lodolo 2024-02-22 10:46:36 +01:00 коммит произвёл GitHub
Родитель 4cf62b93d7
Коммит e4b4946298
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: B5690EEEBB952194
6 изменённых файлов: 21 добавлений и 21 удалений

4
.github/workflows/backend.yml поставляемый
Просмотреть файл

@ -24,12 +24,12 @@ jobs:
name: pytest
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Build
run: make build
- name: Pytest
run: make pytest
env:
run_opts: --user=root # volumes are only writable by root on gh
- uses: codecov/codecov-action@v3
- uses: codecov/codecov-action@v4
with: { flags: backend }

10
.github/workflows/frontend.yml поставляемый
Просмотреть файл

@ -20,8 +20,8 @@ jobs:
name: TypeScript
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with: { node-version: '18' }
- name: Install dependencies
run: npm ci
@ -35,8 +35,8 @@ jobs:
jest:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with: { node-version: '18' }
- name: Install globals
run: npm install --global npm@8
@ -45,5 +45,5 @@ jobs:
- name: Test
run: npm test --coverage
working-directory: translate
- uses: codecov/codecov-action@v3
- uses: codecov/codecov-action@v4
with: { flags: frontend }

2
.github/workflows/heroku.yml поставляемый
Просмотреть файл

@ -20,6 +20,6 @@ jobs:
name: Validating app.json
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Validate
run: python3 -m json.tool < app.json > /dev/null

8
.github/workflows/js-lint.yml поставляемый
Просмотреть файл

@ -32,8 +32,8 @@ jobs:
name: eslint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with: { node-version: '18' }
- name: Install dependencies
run: npm ci
@ -44,8 +44,8 @@ jobs:
name: prettier
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with: { node-version: '18' }
- name: Install dependencies
run: npm ci

12
.github/workflows/py-lint.yml поставляемый
Просмотреть файл

@ -21,8 +21,8 @@ jobs:
flake8:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: 3.9
- name: Install Dependencies
@ -35,8 +35,8 @@ jobs:
black:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: 3.9
- name: Install Dependencies
@ -49,8 +49,8 @@ jobs:
pyupgrade:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: 3.9
- name: Install Dependencies

6
.github/workflows/tag-admin.yml поставляемый
Просмотреть файл

@ -22,8 +22,8 @@ jobs:
name: Test & build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with: { node-version: '18' }
- name: Install globals
run: npm install --global npm@8
@ -32,7 +32,7 @@ jobs:
- name: Test
run: npm test
working-directory: tag-admin
- uses: codecov/codecov-action@v3
- uses: codecov/codecov-action@v4
with: { flags: non-frontend-js }
- name: Build
run: npm run build