chore(deps): Bump google.golang.org/grpc from 1.64.0 to 1.64.1 in the go_modules group across 1 directory #26
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This workflow is triggered on push or pull request for the master branch. | |
# It runs tests and various checks to validate that the proposed changes | |
# will not introduce any regression after merging the code to the master branch. | |
name: build | |
on: | |
push: | |
branches: | |
- master | |
paths-ignore: | |
- '*.md' | |
pull_request: | |
branches: | |
- master | |
paths-ignore: | |
- '*.md' | |
permissions: | |
contents: read | |
env: | |
GO_VERSION: "1.22.4" | |
jobs: | |
release-snapshot: | |
name: Release unversioned snapshot | |
runs-on: ubuntu-latest | |
steps: | |
- name: Setup Go | |
uses: actions/setup-go@v2 | |
with: | |
go-version: ${{ env.GO_VERSION }} | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- uses: actions/cache@v2 | |
with: | |
path: ~/go/pkg/mod | |
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }} | |
restore-keys: | | |
${{ runner.os }}-go- | |
- name: Build binary | |
run: CGO_ENABLED=0 GOOS=linux go build -a -tags netgo -ldflags '-w -extldflags "-static"' -o kube-lineage ./cmd/kube-lineage |