Skip to content

Commit

Permalink
build: bump dependencies to support arm mac (#15)
Browse files Browse the repository at this point in the history
Bump the dependencies.

This includes a patch to modernc.org/sqlite which allows building for arm mac

Fixes #13
  • Loading branch information
anthonyangel authored Jun 16, 2023
1 parent 8f05446 commit 5d19b1c
Show file tree
Hide file tree
Showing 3 changed files with 122 additions and 224 deletions.
23 changes: 11 additions & 12 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,24 +5,23 @@ name: Go

on:
push:
branches: [ "main" ]
branches: ["main"]
pull_request:
branches: [ "main" ]
branches: ["main"]

jobs:

build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v3

- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: 1.20
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: 1.19

- name: Build
run: go build -v ./...
- name: Build
run: go build -v ./...

- name: Test
run: go test -v ./...
- name: Test
run: go test -v ./...
45 changes: 37 additions & 8 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,17 +1,46 @@
module github.com/oncilla/old-man-yells-at

go 1.15
go 1.19

require (
github.com/dgraph-io/ristretto v0.0.3
github.com/google/uuid v1.2.0
github.com/lib/pq v1.9.0
github.com/dgraph-io/ristretto v0.1.1
github.com/google/uuid v1.3.0
github.com/lib/pq v1.10.9
github.com/nfnt/resize v0.0.0-20180221191011-83c6a9932646
github.com/oncilla/boa v0.1.3
github.com/spf13/cobra v1.1.3
github.com/stretchr/testify v1.4.0
go.uber.org/zap v1.10.0
modernc.org/sqlite v1.8.7
github.com/spf13/cobra v1.7.0
github.com/stretchr/testify v1.8.4
go.uber.org/zap v1.24.0
modernc.org/sqlite v1.23.1
)

require (
github.com/cespare/xxhash/v2 v2.1.1 // indirect
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/dustin/go-humanize v1.0.1 // indirect
github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b // indirect
github.com/inconshreveable/mousetrap v1.1.0 // indirect
github.com/kballard/go-shellquote v0.0.0-20180428030007-95032a82bc51 // indirect
github.com/mattn/go-isatty v0.0.19 // indirect
github.com/pkg/errors v0.9.1 // indirect
github.com/pmezard/go-difflib v1.0.0 // indirect
github.com/remyoudompheng/bigfft v0.0.0-20230129092748-24d4a6f8daec // indirect
github.com/spf13/pflag v1.0.5 // indirect
go.uber.org/atomic v1.7.0 // indirect
go.uber.org/multierr v1.6.0 // indirect
golang.org/x/mod v0.11.0 // indirect
golang.org/x/sys v0.9.0 // indirect
golang.org/x/tools v0.9.3 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
lukechampine.com/uint128 v1.3.0 // indirect
modernc.org/cc/v3 v3.41.0 // indirect
modernc.org/ccgo/v3 v3.16.14 // indirect
modernc.org/libc v1.24.1 // indirect
modernc.org/mathutil v1.5.0 // indirect
modernc.org/memory v1.6.0 // indirect
modernc.org/opt v0.1.3 // indirect
modernc.org/strutil v1.1.3 // indirect
modernc.org/token v1.1.0 // indirect
)

// +heroku goVersion 1.15
Expand Down
Loading

0 comments on commit 5d19b1c

Please sign in to comment.