Skip to content

Commit 5ed168c

Browse files
committed
minimal set of changes to bring things up to date.
It's no longer necessary (or even useful) to go get the files as go modules takes care of that for us.
1 parent 4421a78 commit 5ed168c

File tree

19 files changed

+27
-145
lines changed

19 files changed

+27
-145
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: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,19 @@ git remote set-head origin -a
2020
```
2121

2222
## Installation
23-
`go get github.com/signalsciences/sigsci-module-golang`
23+
24+
```console
25+
cd $(go env GOPATH)/src/github.com/signalsciences
26+
git clone https://github.com/signalsciences/sigsci-module-golang.git
27+
```
28+
29+
## Running tests
30+
31+
Must be logged into our ECR repo
32+
33+
```console
34+
aws ecr get-login-password --region us-west-2 --profile sigsci_prod | docker login --username AWS --password-stdin 803688608479.dkr.ecr.us-west-2.amazonaws.com
35+
```
2436

2537
## Example Code Snippet
2638
```go

go.mod

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
module github.com/signalsciences/sigsci-module-golang
22

3-
go 1.12
3+
go 1.18
44

55
require (
6-
github.com/mitchellh/mapstructure v1.1.2 // indirect
76
github.com/philhofer/fwd v1.0.0 // indirect
87
github.com/signalsciences/tlstext v1.2.0
98
github.com/tinylib/msgp v1.1.0

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

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
#!/bin/sh
2+
3+
set -ex
4+
5+
(cd ./scripts/test-golang118 && ./test.sh)
6+
(cd ./scripts/test-golang119 && ./test.sh)

scripts/test-golang110/docker-compose.yml

Lines changed: 0 additions & 58 deletions
This file was deleted.

scripts/test-golang110/test.sh

Lines changed: 0 additions & 44 deletions
This file was deleted.

scripts/test-golang111/Dockerfile

Lines changed: 0 additions & 7 deletions
This file was deleted.

scripts/test-golang114/docker-compose.override.yml

Lines changed: 0 additions & 15 deletions
This file was deleted.

0 commit comments

Comments
 (0)