mirror of
https://github.com/actions/setup-java.git
synced 2025-04-20 18:06:45 +00:00
test proxy
This commit is contained in:
parent
63d68602dd
commit
2cbe3e7b1b
5 changed files with 60 additions and 17 deletions
2
.github/workflows/lint-yaml.yml
vendored
2
.github/workflows/lint-yaml.yml
vendored
|
@ -4,7 +4,7 @@ jobs:
|
|||
lint:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@master
|
||||
- uses: actions/checkout@v2
|
||||
- name: Lint action.yml
|
||||
uses: ibiqlik/action-yamllint@master
|
||||
with:
|
||||
|
|
40
.github/workflows/workflow.yml
vendored
40
.github/workflows/workflow.yml
vendored
|
@ -1,26 +1,34 @@
|
|||
name: Main workflow
|
||||
on: [push, pull_request]
|
||||
jobs:
|
||||
run:
|
||||
name: Run
|
||||
# build:
|
||||
# runs-on: ${{ matrix.operating-system }}
|
||||
# strategy:
|
||||
# matrix:
|
||||
# operating-system: [ubuntu-latest, windows-latest]
|
||||
# steps:
|
||||
# - name: Checkout
|
||||
# uses: actions/checkout@v2
|
||||
# - name: Set Node.js 12.x
|
||||
# uses: actions/setup-node@v1
|
||||
# with:
|
||||
# node-version: 12.x
|
||||
# - name: npm install
|
||||
# run: npm install
|
||||
# - name: Lint
|
||||
# run: npm run format-check
|
||||
# - name: npm test
|
||||
# run: npm test
|
||||
|
||||
test:
|
||||
runs-on: ${{ matrix.operating-system }}
|
||||
strategy:
|
||||
matrix:
|
||||
operating-system: [ubuntu-latest, windows-latest]
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@master
|
||||
|
||||
- name: Set Node.js 10.x
|
||||
uses: actions/setup-node@master
|
||||
uses: actions/checkout@v2
|
||||
- name: Setup java 7
|
||||
uses: ./
|
||||
with:
|
||||
node-version: 10.x
|
||||
|
||||
- name: npm install
|
||||
run: npm install
|
||||
|
||||
- name: Lint
|
||||
run: npm run format-check
|
||||
|
||||
- name: npm test
|
||||
run: npm test
|
||||
java-version: 7.x
|
Loading…
Add table
Add a link
Reference in a new issue