mirror of
https://github.com/actions/setup-go.git
synced 2025-05-05 06:25:16 +00:00
starting v2 and proxy support
This commit is contained in:
20
.github/workflows/workflow.yml
vendored
20
.github/workflows/workflow.yml
vendored
@ -1,5 +1,13 @@
|
||||
name: Main workflow
|
||||
on: [push]
|
||||
name: build-test
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
paths-ignore:
|
||||
- '**.md'
|
||||
pull_request:
|
||||
paths-ignore:
|
||||
- '**.md'
|
||||
jobs:
|
||||
run:
|
||||
name: Run
|
||||
@ -9,12 +17,12 @@ jobs:
|
||||
operating-system: [ubuntu-latest, windows-latest]
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@master
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- name: Set Node.js 10.x
|
||||
uses: actions/setup-node@master
|
||||
- name: Setup node 12
|
||||
uses: actions/setup-node@v1
|
||||
with:
|
||||
version: 10.x
|
||||
node-version: 12
|
||||
|
||||
- name: npm install
|
||||
run: npm install
|
||||
|
Reference in New Issue
Block a user