Skip to content

Commit

Permalink
Merge pull request #84 from justwatchcom/philippdefner/update-depende…
Browse files Browse the repository at this point in the history
…ncies

Fix go.sum
  • Loading branch information
dewey authored Jun 19, 2023
2 parents 1896ebb + b4a3f80 commit f0a38d7
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 13 deletions.
16 changes: 5 additions & 11 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,22 +11,16 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- uses: actions/setup-go@v4
with:
fetch-depth: 1

- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.17

go-version: '^1.20.5'
- name: Build
run: go build -v ./...

- name: Test
run: go test -v ./...

- name: Staticcheck
uses: dominikh/[email protected]
- uses: dominikh/[email protected]
with:
version: "2021.1.1"
version: "2022.1.3"
4 changes: 2 additions & 2 deletions config.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package main
import (
"errors"
"fmt"
"io/ioutil"
"io"
"os"
"regexp"
"strings"
Expand Down Expand Up @@ -43,7 +43,7 @@ func Read(path string) (File, error) {
}
defer fh.Close()

buf, err := ioutil.ReadAll(fh)
buf, err := io.ReadAll(fh)
if err != nil {
return f, err
}
Expand Down

0 comments on commit f0a38d7

Please sign in to comment.