Skip to content

Commit

Permalink
Merge branch 'dev' into fix/enableSupportForEU
Browse files Browse the repository at this point in the history
  • Loading branch information
hiranya911 committed May 17, 2021
2 parents f8b195e + 88d217a commit a8207e5
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 5 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,21 +6,24 @@ jobs:
name: Module build
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
go: [1.12, 1.13, 1.14]
go: [1.12, 1.16]

steps:
- name: Set up Go ${{ matrix.go }}
uses: actions/setup-go@v1
with:
go-version: ${{ matrix.go }}

- name: Install golint
run: go get golang.org/x/lint/golint

- name: Check out code
uses: actions/checkout@v2

- name: Run Linter
run: |
go get -u golang.org/x/lint/golint
GOLINT=`go list -f {{.Target}} golang.org/x/lint/golint`
$GOLINT -set_exit_status ./...
Expand All @@ -44,12 +47,13 @@ jobs:
runs-on: ubuntu-latest
env:
GOPATH: ${{ github.workspace }}/go
GO111MODULE: off

steps:
- name: Set up Go 1.12
- name: Set up Go 1.16
uses: actions/setup-go@v1
with:
go-version: 1.12
go-version: 1.16

- name: Check out code into GOPATH
uses: actions/checkout@v2
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,14 +44,16 @@ jobs:
with:
go-version: 1.12

- name: Install golint
run: go get golang.org/x/lint/golint

- name: Check out code
uses: actions/checkout@v2
with:
ref: ${{ github.event.client_payload.ref || github.ref }}

- name: Run Linter
run: |
go get -u golang.org/x/lint/golint
GOLINT=`go list -f {{.Target}} golang.org/x/lint/golint`
$GOLINT -set_exit_status ./...
Expand Down

0 comments on commit a8207e5

Please sign in to comment.