mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
![dependabot[bot]](/assets/img/avatar_default.png)
Bumps [actions/setup-go](https://github.com/actions/setup-go) from 4.0.0 to 4.0.1.
- [Release notes](https://github.com/actions/setup-go/releases)
- [Commits](4d34df0c23...fac708d667
)
---
updated-dependencies:
- dependency-name: actions/setup-go
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
32 lines
929 B
YAML
32 lines
929 B
YAML
name: Static Analysis
|
|
on: [push, pull_request]
|
|
permissions: read-all
|
|
jobs:
|
|
goversion:
|
|
uses: ./.github/workflows/go-version.yaml
|
|
run:
|
|
runs-on: ubuntu-latest
|
|
needs: goversion
|
|
steps:
|
|
- uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2
|
|
- uses: actions/setup-go@fac708d6674e30b6ba41289acaab6d4b75aa0753 # v4.0.1
|
|
with:
|
|
go-version: ${{ needs.goversion.outputs.goversion }}
|
|
- name: golangci-lint
|
|
uses: golangci/golangci-lint-action@08e2f20817b15149a52b5b3ebe7de50aff2ba8c5 # v3.4.0
|
|
with:
|
|
version: v1.49.0
|
|
- name: protoc
|
|
uses: arduino/setup-protoc@64c0c85d18e984422218383b81c52f8b077404d3 # v1.1.2
|
|
with:
|
|
version: '3.14.0'
|
|
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
|
- run: |
|
|
set -euo pipefail
|
|
|
|
make verify
|
|
- run: |
|
|
set -euo pipefail
|
|
|
|
make fix
|