diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index d7ca24ce..ab5f1bc1 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -40,7 +40,7 @@ jobs: with: go-version: ${{ matrix.golang }} - name: Cache Go modules - uses: actions/cache@v2.1.4 + uses: actions/cache@v2.1.8 with: path: ~/go/pkg/mod key: ${{ runner.os }}-go-${{ matrix.golang }}-v1-${{ hashFiles('**/go.sum') }} @@ -97,7 +97,7 @@ jobs: uses: actions/setup-go@v2 with: go-version: ${{ matrix.golang }} - - uses: actions/cache@v2.1.4 + - uses: actions/cache@v2.1.8 with: path: ~/go/pkg/mod key: ${{ runner.os }}-go-${{ matrix.golang }}-v1-${{ hashFiles('**/go.sum') }} @@ -138,7 +138,7 @@ jobs: uses: actions/setup-go@v2 with: go-version: ${{ matrix.golang }} - - uses: actions/cache@v2.1.4 + - uses: actions/cache@v2.1.8 with: path: ~/go/pkg/mod key: ${{ runner.os }}-go-${{ matrix.golang }}-v1-${{ hashFiles('**/go.sum') }} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 59f9a535..dcc1c363 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -34,7 +34,7 @@ jobs: - name: Cache Go modules if: steps.semantic.outputs.new-release-published == 'true' - uses: actions/cache@v2.1.4 + uses: actions/cache@v2.1.8 with: path: ~/go/pkg/mod key: ${{ runner.os }}-go-${{ matrix.golang }}-v1-${{ hashFiles('**/go.sum') }} diff --git a/Dockerfile b/Dockerfile index 6aa56290..0d56201f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # builder -FROM golang:1.16-alpine as builder +FROM golang:1.22-alpine as builder RUN apk --no-cache add make git go rsync libc-dev RUN go get -u golang.org/x/tools/cmd/goimports RUN go get -u github.com/gobuffalo/packr/v2/packr2 diff --git a/cmd/web-editor/static/index.html b/cmd/web-editor/static/index.html index bc8af00d..3484f92a 100644 --- a/cmd/web-editor/static/index.html +++ b/cmd/web-editor/static/index.html @@ -8,12 +8,12 @@ - - - - - - + + + + + +