diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b3f7d55..06d92fd 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -4,10 +4,10 @@ jobs: test: runs-on: ubuntu-latest steps: - - name: Install Go 1.22 + - name: Install Go 1.23.0 uses: actions/setup-go@v4 with: - go-version: "1.22" + go-version: "1.23.0" check-latest: true - name: Checkout repository uses: actions/checkout@v3 diff --git a/.github/workflows/golangci-lint.yml b/.github/workflows/golangci-lint.yml index b96e938..26bd5c4 100644 --- a/.github/workflows/golangci-lint.yml +++ b/.github/workflows/golangci-lint.yml @@ -15,32 +15,12 @@ jobs: name: lint runs-on: ubuntu-latest steps: - - uses: actions/setup-go@v4 + - uses: actions/setup-go@v5 with: - go-version: "1.22" + go-version: "1.23.0" check-latest: true - uses: actions/checkout@v3 - name: golangci-lint - uses: golangci/golangci-lint-action@v3 + uses: golangci/golangci-lint-action@v6 with: - # Optional: version of golangci-lint to use in form of v1.2 or v1.2.3 or `latest` to use the latest version version: latest - - # Optional: working directory, useful for monorepos - # working-directory: somedir - - # Optional: golangci-lint command line arguments. - # args: --issues-exit-code=0 - - # Optional: show only new issues if it's a pull request. The default value is `false`. - # only-new-issues: true - - # Optional: if set to true then the all caching functionality will be complete disabled, - # takes precedence over all other caching options. - # skip-cache: true - - # Optional: if set to true then the action don't cache or restore ~/go/pkg. - # skip-pkg-cache: true - - # Optional: if set to true then the action don't cache or restore ~/.cache/go-build. - # skip-build-cache: true diff --git a/go.mod b/go.mod index 41da56d..0616402 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/romshark/templier -go 1.22.5 +go 1.23.0 require ( github.com/a-h/templ v0.2.747 diff --git a/internal/log/log.go b/internal/log/log.go index 5270f1e..f113b87 100644 --- a/internal/log/log.go +++ b/internal/log/log.go @@ -166,7 +166,7 @@ func Durf(msg string, d time.Duration) { } fmt.Fprint(out, msg) fmt.Fprint(out, " (") - fRed.Fprintf(out, durStr(d)) + fRed.Fprintf(out, durStr(d)) // nolint: vet fmt.Fprintln(out, ")") }