Skip to content

Commit

Permalink
Bump golang from 1.18.2-alpine to 1.19.0-alpine (#30)
Browse files Browse the repository at this point in the history
* Bump golang from 1.18.2-alpine to 1.19.0-alpine

Bumps golang from 1.18.2-alpine to 1.19.0-alpine.

---
updated-dependencies:
- dependency-name: golang
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

* pin to version 1.19

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Elan Hasson <[email protected]>
  • Loading branch information
dependabot[bot] and ElanHasson authored Aug 11, 2022
1 parent 9bce3bd commit 16c1530
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 9 deletions.
13 changes: 5 additions & 8 deletions .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ on:
branches:
- main
- go_attempt

env:
GO_VERSION_TO_USE: '^1.19.0' # The Go version to download (if necessary) and use.
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# The "build" workflow
Expand All @@ -30,7 +31,7 @@ jobs:
- name: Setup Go
uses: actions/setup-go@v3
with:
go-version: '1.18.2' # The Go version to download (if necessary) and use.
go-version: ${{ env.GO_VERSION_TO_USE }}

# Install all the dependencies
- name: Install dependencies
Expand All @@ -48,16 +49,12 @@ jobs:
test:
# This job will run after the build job completes
needs: build
strategy:
matrix:
go-version: [1.18.x]
os: [ubuntu-latest]
runs-on: ${{ matrix.os }}
runs-on: ubuntu-latest
steps:
- name: Install Go
uses: actions/setup-go@v3
with:
go-version: ${{ matrix.go-version }}
go-version: ${{ env.GO_VERSION_TO_USE }}
- name: Checkout code
uses: actions/checkout@v3
- name: Test
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Start from the latest golang base image
FROM golang:1.18.2-alpine
FROM golang:1.19.0-alpine
# Set the Current Working Directory inside the container
WORKDIR /app
# Copy go mod and sum files
Expand Down

0 comments on commit 16c1530

Please sign in to comment.