chore: work save
This commit is contained in:
parent
3e3f13d36d
commit
9752d63f7e
19 changed files with 1003 additions and 209 deletions
23
.github/actions/build/action.yaml
vendored
23
.github/actions/build/action.yaml
vendored
|
|
@ -4,14 +4,31 @@ description: "Build pipeline"
|
|||
inputs:
|
||||
go-version:
|
||||
description: "Go version to install"
|
||||
default: '1.25'
|
||||
required: true
|
||||
golang-cilint-version:
|
||||
description: "Golangci-lint version to install"
|
||||
default: "2.7.2"
|
||||
required: true
|
||||
|
||||
runs:
|
||||
using: "composite"
|
||||
steps:
|
||||
- name: Install Go ${{ inputs.go-version }}
|
||||
uses: actions/setup-go@v5
|
||||
uses: actions/setup-go@v6
|
||||
with:
|
||||
go-version: ${{ inputs.go-version }}
|
||||
- name: Install project tools and dependencies
|
||||
check-latest: true
|
||||
go-version-file: 'go.mod'
|
||||
|
||||
# - name: Run golangci-lint
|
||||
# uses: golangci/golangci-lint-action@v9
|
||||
# with:
|
||||
# version: ${{ inputs.golang-cilint-version }}
|
||||
|
||||
- name: Install needed tools
|
||||
shell: bash
|
||||
run: make project-tools
|
||||
run: |
|
||||
set -e
|
||||
go install github.com/golangci/golangci-lint/v2/cmd/golangci-lint@${{ inputs.golang-cilint-version }}
|
||||
go install github.com/hashicorp/terraform-plugin-docs/cmd/tfplugindocs@v0.24.0
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue