Bump golang from 1.17.7-alpine to 1.18.0-alpine (#76)

This commit is contained in:
dependabot[bot] 2022-03-19 11:33:30 +00:00 committed by GitHub
parent 4b83ce7d09
commit 6c0885a5d3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 8 additions and 8 deletions

View File

@ -15,7 +15,7 @@ jobs:
arch: [amd64] # amd64, 386 arch: [amd64] # amd64, 386
steps: steps:
- uses: actions/setup-go@v2 - uses: actions/setup-go@v2
with: {go-version: 1.17.7} with: {go-version: 1.18.0}
- uses: actions/checkout@v3 - uses: actions/checkout@v3

View File

@ -25,7 +25,7 @@ jobs: # Docs: <https://git.io/JvxXE>
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- uses: actions/setup-go@v2 - 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 - name: Run linter
uses: golangci/golangci-lint-action@v3 # Action page: <https://github.com/golangci/golangci-lint-action> uses: golangci/golangci-lint-action@v3 # Action page: <https://github.com/golangci/golangci-lint-action>
@ -53,7 +53,7 @@ jobs: # Docs: <https://git.io/JvxXE>
runs-on: ubuntu-20.04 runs-on: ubuntu-20.04
steps: steps:
- uses: actions/setup-go@v2 - uses: actions/setup-go@v2
with: {go-version: 1.17} with: {go-version: 1.18}
- uses: actions/checkout@v3 - uses: actions/checkout@v3
with: {fetch-depth: 2} # Fixes codecov error 'Issue detecting commit SHA' with: {fetch-depth: 2} # Fixes codecov error 'Issue detecting commit SHA'
@ -89,7 +89,7 @@ jobs: # Docs: <https://git.io/JvxXE>
needs: [golangci-lint, go-test, validate-config-file] needs: [golangci-lint, go-test, validate-config-file]
steps: steps:
- uses: actions/setup-go@v2 - uses: actions/setup-go@v2
with: {go-version: 1.17} with: {go-version: 1.18}
- uses: actions/checkout@v3 - uses: actions/checkout@v3

View File

@ -8,7 +8,7 @@ The format is based on [Keep a Changelog][keepachangelog] and this project adher
### Changed ### 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 ## v2.7.0

View File

@ -1,7 +1,7 @@
# syntax=docker/dockerfile:1.2 # syntax=docker/dockerfile:1.2
# Image page: <https://hub.docker.com/_/golang> # Image page: <https://hub.docker.com/_/golang>
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" .` # 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" ARG APP_VERSION="undefined@docker"

View File

@ -8,7 +8,7 @@ volumes:
services: services:
app: &app-service app: &app-service
image: golang:1.17.7-buster # Image page: <https://hub.docker.com/_/golang> image: golang:1.18.0-buster # Image page: <https://hub.docker.com/_/golang>
working_dir: /src working_dir: /src
environment: environment:
HOME: /tmp HOME: /tmp

2
go.mod
View File

@ -1,6 +1,6 @@
module github.com/tarampampam/error-pages module github.com/tarampampam/error-pages
go 1.17 go 1.18
require ( require (
github.com/a8m/envsubst v1.3.0 github.com/a8m/envsubst v1.3.0