mirror of https://github.com/coder/coder.git
chore: bump go (->v1.21.5) and sqlc (->v1.24.0) to new versions (#11170)
This commit is contained in:
parent
6b4d908e7e
commit
6800fc8477
|
@ -4,7 +4,7 @@ description: |
|
|||
inputs:
|
||||
version:
|
||||
description: "The Go version to use."
|
||||
default: "1.20.11"
|
||||
default: "1.21.5"
|
||||
runs:
|
||||
using: "composite"
|
||||
steps:
|
||||
|
|
|
@ -7,4 +7,4 @@ runs:
|
|||
- name: Setup sqlc
|
||||
uses: sqlc-dev/setup-sqlc@v4
|
||||
with:
|
||||
sqlc-version: "1.20.0"
|
||||
sqlc-version: "1.24.0"
|
||||
|
|
|
@ -228,7 +228,7 @@ jobs:
|
|||
with:
|
||||
# This doesn't need caching. It's super fast anyways!
|
||||
cache: false
|
||||
go-version: 1.20.11
|
||||
go-version: 1.21.5
|
||||
|
||||
- name: Install shfmt
|
||||
run: go install mvdan.cc/sh/v3/cmd/shfmt@v3.7.0
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// Code generated by sqlc. DO NOT EDIT.
|
||||
// versions:
|
||||
// sqlc v1.20.0
|
||||
// sqlc v1.24.0
|
||||
|
||||
package database
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// Code generated by sqlc. DO NOT EDIT.
|
||||
// versions:
|
||||
// sqlc v1.20.0
|
||||
// sqlc v1.24.0
|
||||
|
||||
package database
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// Code generated by sqlc. DO NOT EDIT.
|
||||
// versions:
|
||||
// sqlc v1.20.0
|
||||
// sqlc v1.24.0
|
||||
|
||||
package database
|
||||
|
||||
|
|
|
@ -86,6 +86,8 @@ sql:
|
|||
# schema loaded and migrations run. Run `make sqlc-vet` to run the linter.
|
||||
database:
|
||||
uri: "${SQLC_DATABASE_URL}"
|
||||
analyzer:
|
||||
database: false
|
||||
rules:
|
||||
- sqlc/db-prepare
|
||||
gen:
|
||||
|
|
|
@ -8,7 +8,7 @@ FROM ubuntu:jammy AS go
|
|||
|
||||
RUN apt-get update && apt-get install --yes curl gcc
|
||||
# Install Go manually, so that we can control the version
|
||||
ARG GO_VERSION=1.20.11
|
||||
ARG GO_VERSION=1.21.5
|
||||
RUN mkdir --parents /usr/local/go
|
||||
|
||||
# Boring Go is needed to build FIPS-compliant binaries.
|
||||
|
@ -53,7 +53,7 @@ RUN mkdir --parents "$GOPATH" && \
|
|||
# charts and values files
|
||||
go install github.com/norwoodj/helm-docs/cmd/helm-docs@v1.5.0 && \
|
||||
# sqlc for Go code generation
|
||||
go install github.com/sqlc-dev/sqlc/cmd/sqlc@v1.20.0 && \
|
||||
(CGO_ENABLED=1 go install github.com/sqlc-dev/sqlc/cmd/sqlc@v1.24.0) && \
|
||||
# gcr-cleaner-cli used by CI to prune unused images
|
||||
go install github.com/sethvargo/gcr-cleaner/cmd/gcr-cleaner-cli@v0.5.1 && \
|
||||
# ruleguard for checking custom rules, without needing to run all of
|
||||
|
|
Loading…
Reference in New Issue