Skip to content

Commit

Permalink
Merge pull request #2601 from Jacalz/ci-actions
Browse files Browse the repository at this point in the history
  • Loading branch information
Jacalz authored Oct 31, 2021
2 parents 831aa15 + de7b91f commit ac6dfb4
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .github/workflows/mobile_tests.yml
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:
Expand All @@ -11,6 +13,8 @@ jobs:

steps:
- uses: actions/checkout@v2
with:
persist-credentials: false
- uses: WillAbides/[email protected]
with:
go-version: ${{ matrix.go-version }}
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/platform_tests.yml
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:
Expand All @@ -12,6 +14,8 @@ jobs:

steps:
- uses: actions/checkout@v2
with:
persist-credentials: false
- uses: WillAbides/[email protected]
id: setup-go-faster
with:
Expand Down
9 changes: 8 additions & 1 deletion .github/workflows/static_analysis.yml
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'
Expand All @@ -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/
Expand Down

0 comments on commit ac6dfb4

Please sign in to comment.