From 6c0885a5d361e7e1857873c1b9a1b260c61a407e Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sat, 19 Mar 2022 11:33:30 +0000 Subject: [PATCH] Bump golang from 1.17.7-alpine to 1.18.0-alpine (#76) --- .github/workflows/release.yml | 2 +- .github/workflows/tests.yml | 6 +++--- CHANGELOG.md | 2 +- Dockerfile | 2 +- docker-compose.yml | 2 +- go.mod | 2 +- 6 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c5c1603..994af48 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -15,7 +15,7 @@ jobs: arch: [amd64] # amd64, 386 steps: - uses: actions/setup-go@v2 - with: {go-version: 1.17.7} + with: {go-version: 1.18.0} - uses: actions/checkout@v3 diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index b7760d5..246a1f8 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -25,7 +25,7 @@ jobs: # Docs: - uses: actions/checkout@v3 - uses: actions/setup-go@v2 - with: {go-version: 1.17} + with: {go-version: 1.17} # On v1.18 I had an error "panic: load embedded ruleguard rules: rules/rules.go:13: can't load fmt" - name: Run linter uses: golangci/golangci-lint-action@v3 # Action page: @@ -53,7 +53,7 @@ jobs: # Docs: runs-on: ubuntu-20.04 steps: - uses: actions/setup-go@v2 - with: {go-version: 1.17} + with: {go-version: 1.18} - uses: actions/checkout@v3 with: {fetch-depth: 2} # Fixes codecov error 'Issue detecting commit SHA' @@ -89,7 +89,7 @@ jobs: # Docs: needs: [golangci-lint, go-test, validate-config-file] steps: - uses: actions/setup-go@v2 - with: {go-version: 1.17} + with: {go-version: 1.18} - uses: actions/checkout@v3 diff --git a/CHANGELOG.md b/CHANGELOG.md index e8ab1bd..ffa4623 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,7 +8,7 @@ The format is based on [Keep a Changelog][keepachangelog] and this project adher ### Changed -- Go updated from `1.17.6` up to `1.17.7` +- Go updated from `1.17.6` up to `1.18.0` ## v2.7.0 diff --git a/Dockerfile b/Dockerfile index 7715d3e..596dead 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,7 @@ # syntax=docker/dockerfile:1.2 # Image page: -FROM golang:1.17.7-alpine as builder +FROM golang:1.18.0-alpine as builder # can be passed with any prefix (like `v1.2.3@GITHASH`), e.g.: `docker build --build-arg "APP_VERSION=v1.2.3@GITHASH" .` ARG APP_VERSION="undefined@docker" diff --git a/docker-compose.yml b/docker-compose.yml index 355d730..c3180fe 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -8,7 +8,7 @@ volumes: services: app: &app-service - image: golang:1.17.7-buster # Image page: + image: golang:1.18.0-buster # Image page: working_dir: /src environment: HOME: /tmp diff --git a/go.mod b/go.mod index 0ad6c3a..347c559 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/tarampampam/error-pages -go 1.17 +go 1.18 require ( github.com/a8m/envsubst v1.3.0