Skip to content

Configuration creation with configurable replica count and wait time #353

Configuration creation with configurable replica count and wait time

Configuration creation with configurable replica count and wait time #353

Workflow file for this run

name: golangci-lint
on:
push:
branches: [master]
pull_request:
permissions:
contents: read
# Optional: allow read access to pull request. Use with `only-new-issues` option.
pull-requests: read
jobs:
golangci:
name: lint
runs-on: ubuntu-latest
steps:
- name: Cache Go Modules
uses: actions/cache@v3
with:
path: |
~/.cache/go-build # ubuntu-latest
~/Library/Caches/go-build # macos-latest
~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
- name: Checkout code
uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: "1.22"
- name: Setup Protoc
uses: arduino/setup-protoc@v3.0.0
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
- name: Run Make
run: make
- name: Run golangci-lint
uses: golangci/golangci-lint-action@v3
with:
version: latest
skip-pkg-cache: true
skip-build-cache: true
args: --timeout 5m --disable errcheck
# Optional: show only new issues if it's a pull request. The default value is `false`.
only-new-issues: true