Skip to content

build: update etcd image version from v3.3 to v3.5 #320

build: update etcd image version from v3.3 to v3.5

build: update etcd image version from v3.3 to v3.5 #320

Workflow file for this run

name: golangci-lint
on:
push:
branches:
- "main"
pull_request:
branches:
- "main"
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:
- uses: actions/checkout@v3.5.2
- name: Set up Go go1.21
uses: actions/setup-go@v4
with:
go-version: 1.21
- uses: actions/cache@v3
with:
path: |
~/.cache/go-build
~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
- name: Get dependencies
run: |
go env
go get -v -t -d ./...
- name: golangci-lint
uses: golangci/golangci-lint-action@v3.4.0
with:
args: "--out-${NO_FUTURE}format colored-line-number --timeout=5m"