Skip to content

Bump google.golang.org/grpc from 1.54.0 to 1.64.0 #36

Bump google.golang.org/grpc from 1.54.0 to 1.64.0

Bump google.golang.org/grpc from 1.54.0 to 1.64.0 #36

Workflow file for this run

# SPDX-License-Identifier: Apache-2.0
# Copyright 2024 Intel Corporation
name: Master workflow
on:
push:
branches:
- master
pull_request:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version-file: 'go.mod'
- name: Build
run: |
go build -o build/_output/onos ./cmd/onos
go build -o build/_output/onos-cli-docs-gen ./cmd/onos-cli-docs-gen
go build -o build/_output/gnmi_cli ./cmd/gnmi_cli
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version-file: 'go.mod'
- uses: golangci/[email protected]
with:
version: latest
args: -v --config ./.golangci.yml
unit-tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version-file: 'go.mod'
- name: Unit tests
run: |
go test github.com/onosproject/onos-cli/pkg/...
go test github.com/onosproject/onos-cli/cmd/...
docker-build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version-file: 'go.mod'
- name: Build Docker image
run: |
go mod vendor
docker build . -f build/onos/Dockerfile \
-t onosproject/onos-cli:latest
rm -rf vendor
license-check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: reuse lint
uses: fsfe/reuse-action@v3
fossa-check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: FOSSA scan
uses: fossa-contrib/fossa-action@v3
with:
fossa-api-key: 6d304c09a3ec097ba4517724e4a4d17d