Skip to content

Bump github.com/golangci/golangci-lint from 1.59.0 to 1.59.1 #915

Bump github.com/golangci/golangci-lint from 1.59.0 to 1.59.1

Bump github.com/golangci/golangci-lint from 1.59.0 to 1.59.1 #915

Workflow file for this run

name: Go
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version-file: "go.mod"
- name: golangci-lint
uses: golangci/golangci-lint-action@v6
with:
skip-cache: true
test:
name: Test Code
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version-file: "go.mod"
- name: Test
run: make test-ci
- name: Send coverage
uses: shogo82148/actions-goveralls@v1
with:
path-to-profile: cover.out
helm:
name: Test Helm Chart
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version-file: "go.mod"
- name: Install Helm
uses: azure/setup-helm@v4
- name: Lint
run: |
cp helm/README.md helm/README.md.old
make helm-lint
- name: Check chart/README.md is correctly generated with 'make docs'
run: |
# ignore version as it is updated during build
sed -i '/!\[Version\:/d' helm/README.md
sed -i '/!\[Version\:/d' helm/README.md.old
diff helm/README.md.old helm/README.md
test-release:
name: Test Release
runs-on: ubuntu-latest
steps:
- name: Check out code into the Go module directory
uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version-file: "go.mod"
- name: Run GoReleaser
run: make test-release