Skip to content
Draft
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/pr-auditor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
repository: 'sourcegraph/devx-service'
token: ${{ secrets.PR_AUDITOR_TOKEN }}
- uses: actions/setup-go@v4
with: { go-version: '1.22' }
with: { go-version: '1.26.4' }

- run: 'go run ./cmd/pr-auditor'
env:
Expand Down
2 changes: 1 addition & 1 deletion dumper/dumper.go
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ func (dmpr *Dumper) nextID() int {
return dmpr.id
}

func (dmpr *Dumper) emit(v interface{}) error {
func (dmpr *Dumper) emit(v any) error {
return dmpr.encoder.Encode(v)
}

Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module lsif-jsonnet

go 1.13
go 1.26.4

require (
github.com/antlr/antlr4 v0.0.0-20190922154701-7982187134a6
Expand Down
4 changes: 2 additions & 2 deletions refs/listener.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package refs

import (
"fmt"
"io/ioutil"
"os"

"github.com/antlr/antlr4/runtime/Go/antlr"
"lsif-jsonnet/parser"
Expand All @@ -21,7 +21,7 @@ type Listener struct {
}

func ParseFile(path string, pathResolver *PathResolver) (*Listener, error) {
data, err := ioutil.ReadFile(path)
data, err := os.ReadFile(path)
if err != nil {
return nil, err
}
Expand Down
Loading