Update workflows to use reusable-workflows

This commit is contained in:
IvanZosimov 2022-12-14 14:42:29 +01:00
parent 2c3dd9e7e2
commit 9a095d56c5
5 changed files with 22 additions and 112 deletions

View file

@ -9,8 +9,13 @@ on:
paths-ignore:
- '**.md'
jobs:
run:
name: Run
call-basic-validation:
name: Basic validation
#uses: actions/reusable-workflows/.github/workflows/basic-validation.yml@main
uses: IvanZosimov/reusable-workflows/.github/workflows/basic-validation.yml@main
test-setup-python:
name: Test setup-python
runs-on: ${{ matrix.operating-system }}
strategy:
matrix:
@ -19,21 +24,6 @@ jobs:
- name: Checkout
uses: actions/checkout@v3
- name: Set Node.js 16.x
uses: actions/setup-node@v3
with:
node-version: 16.x
cache: npm
- name: npm ci
run: npm ci
- name: Lint
run: npm run format-check
- name: npm test
run: npm test
- name: Run with setup-python 2.7
uses: ./
with: