Skip to content

ci: improve Go caching #7954

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

Merged
merged 27 commits into from
Jun 12, 2023
Merged
Changes from 1 commit
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
Prev Previous commit
Next Next commit
Simplify lint
  • Loading branch information
ammario committed Jun 10, 2023
commit f8df5c952d14ba01591d1ec4370cf704358f0352
23 changes: 9 additions & 14 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -100,11 +100,14 @@ jobs:

- uses: ./.github/actions/setup-go

- uses: ./.github/actions/setup-node

# Check for any typos!
- name: Check for typos
uses: crate-ci/typos@v1.14.12
with:
config: .github/workflows/typos.toml

- name: Fix the typos
if: ${{ failure() }}
run: |
Expand All @@ -113,28 +116,20 @@ jobs:
typos -c .github/workflows/typos.toml -w"

# Check for Go linting errors!
- name: Lint Go
uses: golangci/golangci-lint-action@v3.5.0
with:
version: v1.52.2
- name: install golangci-lint
run: go install github.com/golangci/golangci-lint@v1.53.2

- name: Lint shell scripts
uses: ludeeus/action-shellcheck@2.0.0
env:
SHELLCHECK_OPTS: --external-sources
with:
ignore: node_modules
- name: make lint
run: |
make --output-sync -j lint

- uses: ./.github/actions/setup-node
- name: Lint TypeScript
run: yarn lint
working-directory: site

# Make sure the Helm chart is linted!
- name: Install helm
uses: azure/setup-helm@v3
with:
version: v3.9.2

- name: Lint Helm chart
run: |
cd helm
Expand Down