-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2601 from Jacalz/ci-actions
- Loading branch information
Showing
3 changed files
with
16 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,7 @@ | ||
name: Mobile Tests | ||
on: [push, pull_request] | ||
permissions: | ||
contents: read | ||
|
||
jobs: | ||
mobile_tests: | ||
|
@@ -11,6 +13,8 @@ jobs: | |
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
with: | ||
persist-credentials: false | ||
- uses: WillAbides/[email protected] | ||
with: | ||
go-version: ${{ matrix.go-version }} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,7 @@ | ||
name: Platform Tests | ||
on: [push, pull_request] | ||
permissions: | ||
contents: read | ||
|
||
jobs: | ||
platform_tests: | ||
|
@@ -12,6 +14,8 @@ jobs: | |
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
with: | ||
persist-credentials: false | ||
- uses: WillAbides/[email protected] | ||
id: setup-go-faster | ||
with: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,18 @@ | ||
name: Static Analysis | ||
on: [push, pull_request] | ||
permissions: | ||
contents: read | ||
|
||
jobs: | ||
checks: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
fail-fast: false | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
with: | ||
persist-credentials: false | ||
- uses: WillAbides/[email protected] | ||
with: | ||
go-version: '1.17.x' | ||
|
@@ -16,7 +23,7 @@ jobs: | |
go install golang.org/x/tools/cmd/goimports@latest | ||
go install github.com/fzipp/gocyclo/cmd/gocyclo@latest | ||
go install golang.org/x/lint/golint@latest | ||
go install honnef.co/go/tools/cmd/[email protected].0 | ||
go install honnef.co/go/tools/cmd/[email protected].1 | ||
- name: Cleanup repository | ||
run: rm -rf vendor/ | ||
|