Bumping up CI to go1.17 and enabling CI for PRs.
This commit is contained in:
parent
ea049276a9
commit
6de73b109d
1 changed files with 8 additions and 2 deletions
10
.github/workflows/main.yml
vendored
10
.github/workflows/main.yml
vendored
|
@ -1,6 +1,12 @@
|
||||||
name: CI
|
name: CI
|
||||||
|
|
||||||
on: [push]
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- master
|
||||||
|
pull_request:
|
||||||
|
branches:
|
||||||
|
- master
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
|
@ -12,7 +18,7 @@ jobs:
|
||||||
- name: Setup Go for use with actions
|
- name: Setup Go for use with actions
|
||||||
uses: actions/setup-go@v2
|
uses: actions/setup-go@v2
|
||||||
with:
|
with:
|
||||||
go-version: 1.15
|
go-version: 1.17
|
||||||
- name: Install goimports
|
- name: Install goimports
|
||||||
run: go get golang.org/x/tools/cmd/goimports
|
run: go get golang.org/x/tools/cmd/goimports
|
||||||
- name: Set env with list of directories in repo containin go code
|
- name: Set env with list of directories in repo containin go code
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue