File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -12,12 +12,13 @@ jobs:
1212 runs-on : ubuntu-latest
1313 steps :
1414 - name : set up Go 1.x
15- uses : actions/setup-go@v2
15+ uses : actions/setup-go@v4
1616 with :
17- go-version : ^1.14
17+ go-version : ' 1.20'
18+ check-latest : true
1819 id : go
1920 - name : checkout
20- uses : actions/checkout@v2
21+ uses : actions/checkout@v3
2122 - name : modules
2223 run : go mod download
2324 - name : test
Original file line number Diff line number Diff line change @@ -3,7 +3,6 @@ package emf_test
33import (
44 "bytes"
55 "encoding/json"
6- "io/ioutil"
76 "os"
87 "testing"
98
@@ -220,7 +219,7 @@ func TestEmf(t *testing.T) {
220219 logger .Log ()
221220
222221 println (buf .String ())
223- f , err := ioutil .ReadFile (tc .expected )
222+ f , err := os .ReadFile (tc .expected )
224223 if err != nil {
225224 t .Fatal ("unable to read file with expected json" )
226225 }
You can’t perform that action at this time.
0 commit comments