|
@ -3,16 +3,16 @@ name: gin-vue-admin build test |
|
|
on: |
|
|
on: |
|
|
push: |
|
|
push: |
|
|
branches: |
|
|
branches: |
|
|
- '*' |
|
|
|
|
|
|
|
|
- "*" |
|
|
paths-ignore: |
|
|
paths-ignore: |
|
|
- './db/**' |
|
|
|
|
|
- '**.md' |
|
|
|
|
|
|
|
|
- "./db/**" |
|
|
|
|
|
- "**.md" |
|
|
pull_request: |
|
|
pull_request: |
|
|
branches: |
|
|
branches: |
|
|
- '*' |
|
|
|
|
|
|
|
|
- "*" |
|
|
paths-ignore: |
|
|
paths-ignore: |
|
|
- './db/**' |
|
|
|
|
|
- '**.md' |
|
|
|
|
|
|
|
|
- "./db/**" |
|
|
|
|
|
- "**.md" |
|
|
|
|
|
|
|
|
jobs: |
|
|
jobs: |
|
|
frontend: |
|
|
frontend: |
|
@ -22,7 +22,6 @@ jobs: |
|
|
matrix: |
|
|
matrix: |
|
|
node-version: [12.x] |
|
|
node-version: [12.x] |
|
|
steps: |
|
|
steps: |
|
|
|
|
|
|
|
|
- name: Check out branch |
|
|
- name: Check out branch |
|
|
uses: actions/checkout@v2 |
|
|
uses: actions/checkout@v2 |
|
|
|
|
|
|
|
@ -41,11 +40,10 @@ jobs: |
|
|
name: Backend build |
|
|
name: Backend build |
|
|
runs-on: ubuntu-latest |
|
|
runs-on: ubuntu-latest |
|
|
steps: |
|
|
steps: |
|
|
|
|
|
|
|
|
- name: Set up Go 1.13 |
|
|
|
|
|
|
|
|
- name: Set up Go 1.14 |
|
|
uses: actions/setup-go@v1 |
|
|
uses: actions/setup-go@v1 |
|
|
with: |
|
|
with: |
|
|
go-version: 1.13 |
|
|
|
|
|
|
|
|
go-version: 1.14 |
|
|
id: go |
|
|
id: go |
|
|
|
|
|
|
|
|
- name: Check out branch |
|
|
- name: Check out branch |
|
|