Skip to content

Commit

Permalink
Lint in CI
Browse files Browse the repository at this point in the history
Signed-off-by: Danny Kopping <[email protected]>
  • Loading branch information
dannykopping committed May 24, 2024
1 parent 53b9fd4 commit 6573a10
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: Lint
on:
push:
branches:
- main
pull_request:
branches:
- main

jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Setup Go
uses: actions/setup-go@v2
with:
go-version: 1.22

- name: Install Helm
uses: azure/setup-helm@v4
with:
version: v3.14.4

- name: Install yq
run: |
sudo wget https://github.com/mikefarah/yq/releases/download/v4.42.1/yq_linux_amd64 -O /usr/bin/yq &&\
sudo chmod +x /usr/bin/yq
- name: Set up helm repos
working-directory: coder-observability
run: |
helm dependency update
- name: Lint Helm chart and rules
run: make lint

0 comments on commit 6573a10

Please sign in to comment.