Skip to content

Commit 9c9764c

Browse files
authored
Merge pull request #33 from signalsciences/ffz/minimalUpToData
minimal set of changes to bring things up to date.
2 parents 4421a78 + 290ff97 commit 9c9764c

File tree

18 files changed

+20
-35
lines changed

18 files changed

+20
-35
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
runs-on: ubuntu-latest
1212
strategy:
1313
matrix:
14-
go: [ '1.14' ]
14+
go: [ '1.18' ]
1515
name: Build ${{ matrix.go }}
1616
steps:
1717
- uses: aws-actions/configure-aws-credentials@v1

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM golang:1.14-alpine
1+
FROM golang:1.18-alpine
22

33
COPY goroot/ /go/
44
# this is used to lint and build tarball

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,10 @@ git remote set-head origin -a
2020
```
2121

2222
## Installation
23-
`go get github.com/signalsciences/sigsci-module-golang`
23+
24+
```console
25+
go get github.com/signalsciences/sigsci-module-golang@latest
26+
```
2427

2528
## Example Code Snippet
2629
```go

go.mod

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
module github.com/signalsciences/sigsci-module-golang
22

3-
go 1.12
3+
go 1.13
44

55
require (
6-
github.com/mitchellh/mapstructure v1.1.2 // indirect
7-
github.com/philhofer/fwd v1.0.0 // indirect
86
github.com/signalsciences/tlstext v1.2.0
97
github.com/tinylib/msgp v1.1.0
108
)
9+
10+
require github.com/philhofer/fwd v1.0.0 // indirect

go.sum

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
github.com/mitchellh/mapstructure v1.1.2 h1:fmNYVwqnSfB9mZU6OS2O6GsXM+wcskZDuKQzvN1EDeE=
2-
github.com/mitchellh/mapstructure v1.1.2/go.mod h1:FVVH3fgwuzCH5S8UJGiWEs2h04kUh9fWfEaFds41c1Y=
31
github.com/philhofer/fwd v1.0.0 h1:UbZqGr5Y38ApvM/V/jEljVxwocdweyH+vmYvRPBnbqQ=
42
github.com/philhofer/fwd v1.0.0/go.mod h1:gk3iGcWd9+svBvR0sR+KPcfE+RNWozjowpeBVG3ZVNU=
53
github.com/signalsciences/tlstext v1.2.0 h1:ps1ZCoDz93oMK0ySe7G/2J0dpTT32cN20U+/xy0S7uk=

scripts/test-golang114/Dockerfile renamed to scripts/test-golang117/Dockerfile

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
FROM golang:1.14-alpine
2-
3-
COPY goroot/ /go/
1+
FROM golang:1.17-alpine
42

53
# we will mount the current directory here
64
VOLUME [ "/go/src/github.com/signalsciences/sigsci-module-golang" ]
File renamed without changes.
File renamed without changes.

scripts/test-golang114/test.sh renamed to scripts/test-golang117/test.sh

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,5 @@ $DOCKERCOMPOSE pull --ignore-pull-failures
3737
# > /dev/null --> output of all servers is mixed together and ugly
3838
# we get the individual logs at end
3939
#
40-
if [ -d "goroot" ]; then
41-
rm -rf goroot
42-
fi
43-
docker run -v ${PWD}/goroot:/go/ --rm golang:1.14-alpine /bin/sh -c 'apk --update add git && go get github.com/signalsciences/tlstext && go get github.com/tinylib/msgp && go get github.com/alecthomas/gometalinter'
4440
$DOCKERCOMPOSE up --no-color --build --abort-on-container-exit --exit-code-from mtest > /dev/null
4541

scripts/test-golang110/Dockerfile renamed to scripts/test-golang118/Dockerfile

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
FROM golang:1.10.6-alpine3.8
2-
3-
COPY goroot/ /go/
1+
FROM golang:1.18-alpine
42

53
# we will mount the current directory here
64
VOLUME [ "/go/src/github.com/signalsciences/sigsci-module-golang" ]

0 commit comments

Comments
 (0)