Skip to content

Commit 463f91a

Browse files
authored
Merge pull request #33 from Shopify/bump-ejson-1.3.3
update to go1.18.1, bump dependencies and enable dependabot
2 parents d5df449 + 709cd9a commit 463f91a

8 files changed

Lines changed: 32 additions & 17 deletions

File tree

.github/dependabot.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: "docker"
4+
directory: "/"
5+
schedule:
6+
interval: "daily"
7+
reviewers:
8+
- "Shopify/infrasec"

.github/workflows/ci.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,16 +8,16 @@ permissions:
88
jobs:
99
build:
1010
runs-on: ubuntu-latest
11-
strategy:
12-
matrix:
13-
go: [ '1.17', '1.18' ]
14-
name: Go ${{ matrix.go }} test
11+
name: Go test
1512
steps:
1613
- uses: actions/checkout@v2
14+
- name: Get latest Go version
15+
id: gover
16+
run: echo ::set-output name=goversion::$(awk -F':|-' '/^FROM golang/ {print $2}' Dockerfile)
1717
- name: Setup go
1818
uses: actions/setup-go@v2
1919
with:
20-
go-version: ${{ matrix.go }}
20+
go-version: "${{ steps.gover.outputs.goversion }}"
2121
- run: |
2222
go mod download
2323
go test -race -coverprofile=coverage.txt -covermode=atomic

.github/workflows/release.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,13 @@ jobs:
1616
uses: actions/checkout@v2
1717
with:
1818
fetch-depth: 0
19+
- name: Get latest Go version
20+
id: gover
21+
run: echo ::set-output name=goversion::$(awk -F':|-' '/^FROM golang/ {print $2}' Dockerfile)
1922
- name: Set up Go
2023
uses: actions/setup-go@v2
2124
with:
22-
go-version: 1.18
25+
go-version: "${{ steps.gover.outputs.goversion }}"
2326
- name: Extract release changelog
2427
id: version
2528
run: |

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# 2.0.5
2+
3+
Bump to go 1.18.1 and ejson 1.3.3
4+
15
# 2.0.4
26

37
Move to goreleaser, update dependencies

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM golang:1.18.0-alpine AS builder
1+
FROM golang:1.18.1-alpine AS builder
22
WORKDIR /go/src/github.com/Shopify/ejson2env
33
COPY . .
44
RUN apk add --no-cache git && \

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2.0.4
1+
2.0.5

go.mod

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ module github.com/Shopify/ejson2env/v2
33
go 1.18
44

55
require (
6-
github.com/Shopify/ejson v1.3.2
6+
github.com/Shopify/ejson v1.3.3
77
github.com/taskcluster/shell v0.0.0-20191115171910-c688067f12d3
88
github.com/urfave/cli v1.22.4
99
)
@@ -14,6 +14,6 @@ require (
1414
github.com/russross/blackfriday/v2 v2.0.1 // indirect
1515
github.com/shurcooL/sanitized_anchor_name v1.0.0 // indirect
1616
github.com/smartystreets/goconvey v1.6.7 // indirect
17-
golang.org/x/crypto v0.0.0-20220321153916-2c7772ba3064 // indirect
18-
golang.org/x/sys v0.0.0-20220330033206-e17cdc41300f // indirect
17+
golang.org/x/crypto v0.0.0-20220411220226-7b82a4e95df4 // indirect
18+
golang.org/x/sys v0.0.0-20220412211240-33da011f77ad // indirect
1919
)

go.sum

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU=
2-
github.com/Shopify/ejson v1.3.2 h1:vRnGVO6jiu47J1+zEY3uysuJ1OXH+6VI0NWlfSeikds=
3-
github.com/Shopify/ejson v1.3.2/go.mod h1:5Sx0cpZxvVL1Pszj9J8Gfj11eQk6gYIryaDf+T61A9U=
2+
github.com/Shopify/ejson v1.3.3 h1:dPzgmvFhUPTJIzwdF5DaqbwW1dWaoR8ADKRdSTy6Mss=
3+
github.com/Shopify/ejson v1.3.3/go.mod h1:VZMUtDzvBW/PAXRUF5fzp1ffb1ucT8MztrZXXLYZurw=
44
github.com/cpuguy83/go-md2man/v2 v2.0.0-20190314233015-f79a8a8ca69d/go.mod h1:maD7wRr/U5Z6m/iR4s+kqSMx2CaBsrgA7czyZG/E6dU=
55
github.com/cpuguy83/go-md2man/v2 v2.0.0 h1:EoUDS0afbrsXAZ9YQ9jdu/mZ2sXgT1/2yyNng4PGlyM=
66
github.com/cpuguy83/go-md2man/v2 v2.0.0/go.mod h1:maD7wRr/U5Z6m/iR4s+kqSMx2CaBsrgA7czyZG/E6dU=
@@ -25,12 +25,12 @@ github.com/taskcluster/shell v0.0.0-20191115171910-c688067f12d3/go.mod h1:yFw6QS
2525
github.com/urfave/cli v1.22.4 h1:u7tSpNPPswAFymm8IehJhy4uJMlUuU/GmqSkvJ1InXA=
2626
github.com/urfave/cli v1.22.4/go.mod h1:Gos4lmkARVdJ6EkW0WaNv/tZAAMe9V7XWyB60NtXRu0=
2727
golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w=
28-
golang.org/x/crypto v0.0.0-20220321153916-2c7772ba3064 h1:S25/rfnfsMVgORT4/J61MJ7rdyseOZOyvLIrZEZ7s6s=
29-
golang.org/x/crypto v0.0.0-20220321153916-2c7772ba3064/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4=
28+
golang.org/x/crypto v0.0.0-20220411220226-7b82a4e95df4 h1:kUhD7nTDoI3fVd9G4ORWrbV5NY0liEs/Jg2pv5f+bBA=
29+
golang.org/x/crypto v0.0.0-20220411220226-7b82a4e95df4/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4=
3030
golang.org/x/net v0.0.0-20190311183353-d8887717615a/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg=
3131
golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
32-
golang.org/x/sys v0.0.0-20220330033206-e17cdc41300f h1:rlezHXNlxYWvBCzNses9Dlc7nGFaNMJeqLolcmQSSZY=
33-
golang.org/x/sys v0.0.0-20220330033206-e17cdc41300f/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
32+
golang.org/x/sys v0.0.0-20220412211240-33da011f77ad h1:ntjMns5wyP/fN65tdBD4g8J5w8n015+iIIs9rtjXkY0=
33+
golang.org/x/sys v0.0.0-20220412211240-33da011f77ad/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
3434
golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
3535
golang.org/x/tools v0.0.0-20190328211700-ab21143f2384/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs=
3636
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=

0 commit comments

Comments
 (0)