diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 5a3ee68..41127c7 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -14,7 +14,7 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-go@v4 with: - go-version: '1.19' # The Go version to download (if necessary) and use. + go-version: '1.20' # The Go version to download (if necessary) and use. - uses: actions/cache@v3 with: # In order: diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index de2ec4e..b9a60e2 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -37,7 +37,7 @@ jobs: uses: actions/checkout@v3 - uses: actions/setup-go@v4 with: - go-version: '1.19' # The Go version to download (if necessary) and use. + go-version: '1.20' # The Go version to download (if necessary) and use. - uses: actions/cache@v3 with: # In order: diff --git a/.github/workflows/lint.yaml b/.github/workflows/lint.yaml index 5159316..bf2ea5b 100644 --- a/.github/workflows/lint.yaml +++ b/.github/workflows/lint.yaml @@ -14,7 +14,7 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-go@v4 with: - go-version: '1.19' # The Go version to download (if necessary) and use. + go-version: '1.20' # The Go version to download (if necessary) and use. - uses: actions/cache@v3 with: # In order: diff --git a/.golangci.yml b/.golangci.yml index 5e4f352..e5201bb 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -13,7 +13,7 @@ linters-settings: # - github.com/sirupsen/logrus: "logging is allowed only by logutils.Log" staticcheck: # Select the Go version to target. The default is '1.13'. - go: "1.19" + go: "1.20" dupl: threshold: 100 funlen: diff --git a/go.mod b/go.mod index 9d3a5f9..549e5a4 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/xyaren/arcdps-log-uploader -go 1.19 +go 1.20 require ( github.com/blang/semver/v4 v4.0.0