Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Security hardening and other improvements to CI #2601

Merged
merged 3 commits into from
Oct 31, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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