Skip to content

Commit

Permalink
Disable lint, use unstable version of Go
Browse files Browse the repository at this point in the history
  • Loading branch information
Vilsol committed Mar 14, 2022
1 parent 8895894 commit 749fca3
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 17 deletions.
37 changes: 20 additions & 17 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ jobs:
uses: actions/setup-go@v2
with:
go-version: 1.18.0-beta2
stable: false

- name: Check out code into the Go module directory
uses: actions/checkout@v2
Expand All @@ -47,6 +48,7 @@ jobs:
uses: actions/setup-go@v2
with:
go-version: 1.18.0-beta2
stable: false

- name: Check out code into the Go module directory
uses: actions/checkout@v2
Expand All @@ -62,20 +64,21 @@ jobs:
- name: Codecov
uses: codecov/codecov-action@v1

lint:
name: Lint
runs-on: ubuntu-latest
steps:
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.18.0-beta2

- name: Check out code into the Go module directory
uses: actions/checkout@v2

- name: golangci-lint
uses: golangci/golangci-lint-action@v2
with:
args: cli cmd m m/impl runtime transpiler x x/impl
skip-go-installation: true
# lint:
# name: Lint
# runs-on: ubuntu-latest
# steps:
# - name: Set up Go
# uses: actions/setup-go@v2
# with:
# go-version: 1.18.0-beta2
# stable: false
#
# - name: Check out code into the Go module directory
# uses: actions/checkout@v2
#
# - name: golangci-lint
# uses: golangci/golangci-lint-action@v2
# with:
# args: cli cmd m m/impl runtime transpiler x x/impl
# skip-go-installation: true
2 changes: 2 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ jobs:
uses: actions/setup-go@v2
with:
go-version: 1.18.0-beta2
stable: false

- name: Check out code into the Go module directory
uses: actions/checkout@v2
Expand Down Expand Up @@ -47,6 +48,7 @@ jobs:
uses: actions/setup-go@v2
with:
go-version: 1.18.0-beta2
stable: false

- name: Check out code into the Go module directory
uses: actions/checkout@v2
Expand Down

0 comments on commit 749fca3

Please sign in to comment.