Bump github.com/lyft/protoc-gen-star from 0.5.3 to 0.6.2 in /protoc-gen-choice #11
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
# SPDX-License-Identifier: Apache-2.0 | |
# Copyright 2024 Intel Corporation | |
name: Master | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
env: | |
ONOS_PROTOC_VERSION: v1.0.2 | |
BUF_VERSION: 1.0.0 | |
jobs: | |
protos: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- run: | | |
cd .. | |
sudo git clone https://github.com/onosproject/onos-lib-go.git | |
cd onos-e2-sm | |
docker run \ | |
-v `pwd`:/go/src/github.com/onosproject/onos-e2-sm \ | |
-v `pwd`/../onos-lib-go:/go/src/github.com/onosproject/onos-lib-go \ | |
-w /go/src/github.com/onosproject/onos-e2-sm \ | |
--entrypoint /go/src/github.com/onosproject/onos-e2-sm/build/bin/compile-protos.sh \ | |
onosproject/protoc-go:$ONOS_PROTOC_VERSION | |
protos-py: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- run: | | |
docker run \ | |
-v `pwd`:/go/src/github.com/onosproject/onos-e2-sm \ | |
-v `pwd`/../onos-lib-go:/go/src/github.com/onosproject/onos-lib-go \ | |
-w /go/src/github.com/onosproject/onos-e2-sm \ | |
--entrypoint /go/src/github.com/onosproject/onos-e2-sm/build/bin/compile-protos-py.sh \ | |
onosproject/protoc-go:$ONOS_PROTOC_VERSION | |
buflint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- run: | | |
docker run \ | |
-v `pwd`:/go/src/github.com/onosproject/onos-e2-sm \ | |
-v `pwd`/../onos-lib-go/api/asn1:/go/src/github.com/onosproject/onos-e2-sm/servicemodels/asn1 \ | |
-w /go/src/github.com/onosproject/onos-e2-sm/servicemodels \ | |
bufbuild/buf:$BUF_VERSION lint | |
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 --timeout=15m | |
reuse: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: fsfe/reuse-action@v3 | |
fossa: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: FOSSA scan | |
uses: fossa-contrib/fossa-action@v3 | |
with: | |
fossa-api-key: 6d304c09a3ec097ba4517724e4a4d17d |