Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/go.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Go

Check warning on line 1 in .github/workflows/go.yml

View workflow job for this annotation

GitHub Actions / zizmor-output

excessive-permissions

go.yml:1: overly broad permissions: default permissions used due to no permissions: block

on:
push:
Expand All @@ -8,7 +8,7 @@
- cron: "0 0 * * *"

jobs:
build:

Check warning on line 11 in .github/workflows/go.yml

View workflow job for this annotation

GitHub Actions / zizmor-output

excessive-permissions

go.yml:11: overly broad permissions: default permissions used due to no permissions: block
name: Build
runs-on: ubuntu-latest
strategy:
Expand All @@ -18,13 +18,13 @@

steps:
- name: Install protobuf
uses: arduino/setup-protoc@v3

Check failure on line 21 in .github/workflows/go.yml

View workflow job for this annotation

GitHub Actions / zizmor-output

zizmor/unpinned-uses

unpinned action reference: action is not pinned to a hash (required by blanket policy)

Check failure on line 21 in .github/workflows/go.yml

View workflow job for this annotation

GitHub Actions / zizmor-output

unpinned-uses

go.yml:21: unpinned action reference: action is not pinned to a hash (required by blanket policy)
with:
version: '3.x'
repo-token: ${{ secrets.GITHUB_TOKEN }}

- name: Set up Go
uses: actions/setup-go@v6

Check failure on line 27 in .github/workflows/go.yml

View workflow job for this annotation

GitHub Actions / zizmor-output

zizmor/unpinned-uses

unpinned action reference: action is not pinned to a hash (required by blanket policy)

Check failure on line 27 in .github/workflows/go.yml

View workflow job for this annotation

GitHub Actions / zizmor-output

unpinned-uses

go.yml:27: unpinned action reference: action is not pinned to a hash (required by blanket policy)
with:
go-version: ${{ matrix.go }}
id: go
Expand All @@ -35,7 +35,7 @@
go install golang.org/x/tools/cmd/goimports@latest

- name: Check out code
uses: actions/checkout@v7

Check failure on line 38 in .github/workflows/go.yml

View workflow job for this annotation

GitHub Actions / zizmor-output

zizmor/unpinned-uses

unpinned action reference: action is not pinned to a hash (required by blanket policy)

Check failure on line 38 in .github/workflows/go.yml

View workflow job for this annotation

GitHub Actions / zizmor-output

unpinned-uses

go.yml:38: unpinned action reference: action is not pinned to a hash (required by blanket policy)
with:
path: go/src/github.com/openconfig/ygot

Expand Down Expand Up @@ -118,15 +118,15 @@
go generate ./...
working-directory: go/src/github.com/openconfig/ygot

static_analysis:

Check warning on line 121 in .github/workflows/go.yml

View workflow job for this annotation

GitHub Actions / zizmor-output

excessive-permissions

go.yml:121: overly broad permissions: default permissions used due to no permissions: block
name: Static Analysis
runs-on: ubuntu-latest

steps:
- name: Install Go
uses: actions/setup-go@v6

Check failure on line 127 in .github/workflows/go.yml

View workflow job for this annotation

GitHub Actions / zizmor-output

zizmor/unpinned-uses

unpinned action reference: action is not pinned to a hash (required by blanket policy)

Check failure on line 127 in .github/workflows/go.yml

View workflow job for this annotation

GitHub Actions / zizmor-output

unpinned-uses

go.yml:127: unpinned action reference: action is not pinned to a hash (required by blanket policy)
with:
go-version: '1.25'
go-version: '1.26'
id: go

- name: Install required static analysis tools
Expand All @@ -135,7 +135,7 @@
go install honnef.co/go/tools/cmd/staticcheck@latest

- name: Check out ygot code
uses: actions/checkout@v7

Check failure on line 138 in .github/workflows/go.yml

View workflow job for this annotation

GitHub Actions / zizmor-output

zizmor/unpinned-uses

unpinned action reference: action is not pinned to a hash (required by blanket policy)

Check failure on line 138 in .github/workflows/go.yml

View workflow job for this annotation

GitHub Actions / zizmor-output

unpinned-uses

go.yml:138: unpinned action reference: action is not pinned to a hash (required by blanket policy)

- name: Get dependencies
run: |
Expand Down Expand Up @@ -165,7 +165,7 @@
done

- name: Submit coverage
uses: shogo82148/actions-goveralls@v1

Check failure on line 168 in .github/workflows/go.yml

View workflow job for this annotation

GitHub Actions / zizmor-output

zizmor/unpinned-uses

unpinned action reference: action is not pinned to a hash (required by blanket policy)

Check failure on line 168 in .github/workflows/go.yml

View workflow job for this annotation

GitHub Actions / zizmor-output

unpinned-uses

go.yml:168: unpinned action reference: action is not pinned to a hash (required by blanket policy)
with:
path-to-profile: concatenated.coverprofile

Expand Down
8 changes: 4 additions & 4 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ module github.com/openconfig/ygot

go 1.25.0

toolchain go1.25.3
toolchain go1.26.5

require (
github.com/golang/glog v1.2.5
Expand All @@ -14,11 +14,11 @@ require (
github.com/openconfig/goyang v1.6.3
github.com/openconfig/gribi v1.9.1
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2
github.com/spf13/cobra v1.10.1
github.com/spf13/cobra v1.10.2
github.com/spf13/viper v1.21.0
golang.org/x/exp v0.0.0-20251009144603-d2f985daa21b
golang.org/x/exp v0.0.0-20260727155853-b88d891fe743
google.golang.org/grpc v1.76.0
google.golang.org/protobuf v1.36.10
google.golang.org/protobuf v1.36.11
)

require (
Expand Down
12 changes: 6 additions & 6 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ github.com/spf13/afero v1.15.0 h1:b/YBCLWAJdFWJTN9cLhiXXcD7mzKn9Dm86dNnfyQw1I=
github.com/spf13/afero v1.15.0/go.mod h1:NC2ByUVxtQs4b3sIUphxK0NioZnmxgyCrfzeuq8lxMg=
github.com/spf13/cast v1.10.0 h1:h2x0u2shc1QuLHfxi+cTJvs30+ZAHOGRic8uyGTDWxY=
github.com/spf13/cast v1.10.0/go.mod h1:jNfB8QC9IA6ZuY2ZjDp0KtFO2LZZlg4S/7bzP6qqeHo=
github.com/spf13/cobra v1.10.1 h1:lJeBwCfmrnXthfAupyUTzJ/J4Nc1RsHC/mSRU2dll/s=
github.com/spf13/cobra v1.10.1/go.mod h1:7SmJGaTHFVBY0jW4NXGluQoLvhqFQM+6XSKD+P4XaB0=
github.com/spf13/cobra v1.10.2 h1:DMTTonx5m65Ic0GOoRY2c16WCbHxOOw6xxezuLaBpcU=
github.com/spf13/cobra v1.10.2/go.mod h1:7C1pvHqHw5A4vrJfjNwvOdzYu0Gml16OCs2GRiTUUS4=
github.com/spf13/pflag v1.0.9/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg=
github.com/spf13/pflag v1.0.10 h1:4EBh2KAYBwaONj6b2Ye1GiHfwjqyROoF4RwYO+vPwFk=
github.com/spf13/pflag v1.0.10/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg=
Expand All @@ -76,8 +76,8 @@ go.opentelemetry.io/otel/trace v1.37.0 h1:HLdcFNbRQBE2imdSEgm/kwqmQj1Or1l/7bW6mx
go.opentelemetry.io/otel/trace v1.37.0/go.mod h1:TlgrlQ+PtQO5XFerSPUYG0JSgGyryXewPGyayAWSBS0=
go.yaml.in/yaml/v3 v3.0.4 h1:tfq32ie2Jv2UxXFdLJdh3jXuOzWiL1fo0bu/FbuKpbc=
go.yaml.in/yaml/v3 v3.0.4/go.mod h1:DhzuOOF2ATzADvBadXxruRBLzYTpT36CKvDb3+aBEFg=
golang.org/x/exp v0.0.0-20251009144603-d2f985daa21b h1:18qgiDvlvH7kk8Ioa8Ov+K6xCi0GMvmGfGW0sgd/SYA=
golang.org/x/exp v0.0.0-20251009144603-d2f985daa21b/go.mod h1:j/pmGrbnkbPtQfxEe5D0VQhZC6qKbfKifgD0oM7sR70=
golang.org/x/exp v0.0.0-20260727155853-b88d891fe743 h1:ex206bKw+v3K0dm3andkrIF+ijyQKJG1pLgwQ2PYdQM=
golang.org/x/exp v0.0.0-20260727155853-b88d891fe743/go.mod h1:EdfpwwqSu+0Li0mzskwHU6FWDV3t9Q+RZDo3QMUtL3Q=
golang.org/x/net v0.55.0 h1:bcvxaJn3e1U6InsFWt1JUq1aSjnRxLzT2rtD2KfkDF8=
golang.org/x/net v0.55.0/go.mod h1:L5U2KuzuOe1lY7Z+aWVIKK6qEeJXnXV9yzGA+WCHJww=
golang.org/x/sys v0.45.0 h1:dO4czNzziLiiXplLQgBCEpCvXQ3dnkn0SdaZSYdQ+FY=
Expand All @@ -90,8 +90,8 @@ google.golang.org/genproto/googleapis/rpc v0.0.0-20250804133106-a7a43d27e69b h1:
google.golang.org/genproto/googleapis/rpc v0.0.0-20250804133106-a7a43d27e69b/go.mod h1:qQ0YXyHHx3XkvlzUtpXDkS29lDSafHMZBAZDc03LQ3A=
google.golang.org/grpc v1.76.0 h1:UnVkv1+uMLYXoIz6o7chp59WfQUYA2ex/BXQ9rHZu7A=
google.golang.org/grpc v1.76.0/go.mod h1:Ju12QI8M6iQJtbcsV+awF5a4hfJMLi4X0JLo94ULZ6c=
google.golang.org/protobuf v1.36.10 h1:AYd7cD/uASjIL6Q9LiTjz8JLcrh/88q5UObnmY3aOOE=
google.golang.org/protobuf v1.36.10/go.mod h1:HTf+CrKn2C3g5S8VImy6tdcUvCska2kB7j23XfzDpco=
google.golang.org/protobuf v1.36.11 h1:fV6ZwhNocDyBLK0dj+fg8ektcVegBBuEolpbTQyBNVE=
google.golang.org/protobuf v1.36.11/go.mod h1:HTf+CrKn2C3g5S8VImy6tdcUvCska2kB7j23XfzDpco=
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 h1:YR8cESwS4TdDjEe65xsg0ogRM/Nc3DYOhEAlW+xobZo=
gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
Expand Down
Loading