mirror of
https://github.com/actions/setup-python.git
synced 2025-07-22 14:18:20 +02:00
Update workflows to use reusable-workflows
This commit is contained in:
parent
2c3dd9e7e2
commit
9a095d56c5
5 changed files with 22 additions and 112 deletions
24
.github/workflows/workflow.yml
vendored
24
.github/workflows/workflow.yml
vendored
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue