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
14 changes: 7 additions & 7 deletions .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,49 +8,49 @@
schedule:
- 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
runs-on: ubuntu-latest
strategy:
matrix:
go: ["1.19","1.20", "1.x"]
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v7

Check failure on line 17 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 17 in .github/workflows/go.yml

View workflow job for this annotation

GitHub Actions / zizmor-output

unpinned-uses

go.yml:17: unpinned action reference: action is not pinned to a hash (required by blanket policy)
- name: Set up Go ${{ matrix.go }}
uses: actions/setup-go@v2.1.3
uses: actions/setup-go@v7.0.0

Check failure on line 19 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 19 in .github/workflows/go.yml

View workflow job for this annotation

GitHub Actions / zizmor-output

unpinned-uses

go.yml:19: unpinned action reference: action is not pinned to a hash (required by blanket policy)
with:
go-version: ${{ matrix.go }}
- name: Build
run: go build -v ./...
test:

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

View workflow job for this annotation

GitHub Actions / zizmor-output

excessive-permissions

go.yml:24: overly broad permissions: default permissions used due to no permissions: block
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v7

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)
- name: Set up Go
uses: actions/setup-go@v2.1.3
uses: actions/setup-go@v7.0.0

Check failure on line 29 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 29 in .github/workflows/go.yml

View workflow job for this annotation

GitHub Actions / zizmor-output

unpinned-uses

go.yml:29: unpinned action reference: action is not pinned to a hash (required by blanket policy)
with:
go-version: '1.25'
- name: Run Coverage
run: go test -v -coverprofile=profile.cov ./...
- name: Send coverage
uses: shogo82148/actions-goveralls@v1

Check failure on line 35 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 35 in .github/workflows/go.yml

View workflow job for this annotation

GitHub Actions / zizmor-output

unpinned-uses

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

static_analysis:

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

View workflow job for this annotation

GitHub Actions / zizmor-output

excessive-permissions

go.yml:39: overly broad permissions: default permissions used due to no permissions: block
name: Static Analysis
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v7

Check failure on line 43 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 43 in .github/workflows/go.yml

View workflow job for this annotation

GitHub Actions / zizmor-output

unpinned-uses

go.yml:43: unpinned action reference: action is not pinned to a hash (required by blanket policy)
- name: Install Go
uses: actions/setup-go@v2
uses: actions/setup-go@v7

Check failure on line 45 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 45 in .github/workflows/go.yml

View workflow job for this annotation

GitHub Actions / zizmor-output

unpinned-uses

go.yml:45: unpinned action reference: action is not pinned to a hash (required by blanket policy)
with:
go-version: '1.25'
id: go
- name: Install required static analysis tools
run: |
go get -u honnef.co/go/tools/cmd/staticcheck
- name: Check out code
uses: actions/setup-go@v2.1.3
uses: actions/setup-go@v7.0.0

Check failure on line 53 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 53 in .github/workflows/go.yml

View workflow job for this annotation

GitHub Actions / zizmor-output

unpinned-uses

go.yml:53: unpinned action reference: action is not pinned to a hash (required by blanket policy)
- name: get dependencies
run: |
go get -v -t -d ./...
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/linter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,17 +22,17 @@
branches: [main]

jobs:
build:

Check warning on line 25 in .github/workflows/linter.yml

View workflow job for this annotation

GitHub Actions / zizmor-output

excessive-permissions

linter.yml:25: overly broad permissions: default permissions used due to no permissions: block
name: Lint Code Base
runs-on: ubuntu-latest

steps:
- name: Checkout Code
uses: actions/checkout@v3
uses: actions/checkout@v7

Check failure on line 31 in .github/workflows/linter.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 31 in .github/workflows/linter.yml

View workflow job for this annotation

GitHub Actions / zizmor-output

unpinned-uses

linter.yml:31: unpinned action reference: action is not pinned to a hash (required by blanket policy)
with:
fetch-depth: 0
- name: Lint Code Base
uses: github/super-linter/slim@v5
uses: github/super-linter/slim@v7

Check failure on line 35 in .github/workflows/linter.yml

View workflow job for this annotation

GitHub Actions / zizmor-output

unpinned-uses

linter.yml:35: unpinned action reference: action is not pinned to a hash (required by blanket policy)
env:
VALIDATE_ALL_CODEBASE: false
VALIDATE_HTML: false
Expand Down
3 changes: 2 additions & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
module github.com/openconfig/grpctunnel

go 1.20
go 1.23

require (
github.com/cenkalti/backoff/v4 v4.1.1
github.com/cenkalti/backoff/v7 v7.0.1
github.com/openconfig/gnmi v0.10.0
google.golang.org/grpc v1.51.0-dev
google.golang.org/protobuf v1.33.0
Expand Down
1 change: 1 addition & 0 deletions go.sum
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
github.com/cenkalti/backoff/v4 v4.1.1 h1:G2HAfAmvm/GcKan2oOQpBXOd2tT2G57ZnZGWa1PxPBQ=
github.com/cenkalti/backoff/v4 v4.1.1/go.mod h1:scbssz8iZGpm3xbr14ovlUdkxfGXNInqkPWOWmG2CLw=
github.com/cenkalti/backoff/v7 v7.0.1/go.mod h1:qcKBGwsu4hpxHtQ8tWYsQ+ifzx2+sS+Xx/3jfe30lI8=
github.com/golang/protobuf v1.5.0/go.mod h1:FsONVRAS9T7sI+LIUmWTfcYkHO4aIWwzhcaSAoJOfIk=
github.com/golang/protobuf v1.5.2 h1:ROPKBNFfQgOUMifHyP+KYbvpjbdoFNs+aK7DXlji0Tw=
github.com/golang/protobuf v1.5.2/go.mod h1:XVQd3VNwM+JqD3oG2Ue2ip4fOMUkwXdXDdiuN0vRsmY=
Expand Down
Loading