-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
all: build with go1.18, upgrade dependencies
- Loading branch information
Showing
4 changed files
with
83 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,30 @@ | ||
name: pipeline | ||
on: | ||
push: | ||
branches: [ master ] | ||
branches: [master] | ||
pull_request: | ||
jobs: | ||
go: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/setup-go@v2 | ||
with: { go-version: '1.17' } | ||
- run: go mod download | ||
- run: make check-go | ||
- run: go test -race -coverprofile=coverage.txt ./... | ||
- uses: codecov/codecov-action@v1 | ||
with: | ||
file: ./coverage.txt | ||
fail_ci_if_error: true | ||
- uses: actions/checkout@v2 | ||
- uses: actions/setup-go@v2 | ||
with: { go-version: "1.18" } | ||
- run: go mod download | ||
- run: make check-go | ||
- run: go test -race -coverprofile=coverage.txt ./... | ||
- uses: codecov/codecov-action@v1 | ||
with: | ||
file: ./coverage.txt | ||
fail_ci_if_error: true | ||
|
||
web: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/setup-node@v1 | ||
with: { node-version: '12' } | ||
- run: npm install | ||
working-directory: web | ||
- run: npm run lint | ||
working-directory: web | ||
- uses: actions/checkout@v2 | ||
- uses: actions/setup-node@v1 | ||
with: { node-version: "12" } | ||
- run: npm install | ||
working-directory: web | ||
- run: npm run lint | ||
working-directory: web |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,40 +1,40 @@ | ||
module go.bobheadxi.dev/gobenchdata | ||
|
||
go 1.17 | ||
go 1.18 | ||
|
||
require ( | ||
github.com/OneOfOne/struct2ts v1.0.6 | ||
github.com/UnnoTed/fileb0x v1.1.4 | ||
github.com/antonmedv/expr v1.9.0 | ||
github.com/google/go-cmp v0.5.6 | ||
github.com/google/go-cmp v0.5.8 | ||
github.com/olekukonko/tablewriter v0.0.5 | ||
github.com/spf13/pflag v1.0.5 | ||
golang.org/x/lint v0.0.0-20210508222113-6edffad5e616 | ||
golang.org/x/net v0.0.0-20220425223048-2871e0cb64e4 | ||
golang.org/x/net v0.0.0-20220607020251-c690dde0001d | ||
gopkg.in/yaml.v2 v2.4.0 | ||
) | ||
|
||
require ( | ||
github.com/BurntSushi/toml v0.3.1 // indirect | ||
github.com/alecthomas/template v0.0.0-20160405071501-a0175ee3bccc // indirect | ||
github.com/alecthomas/units v0.0.0-20151022065526-2efee857e7cf // indirect | ||
github.com/bmatcuk/doublestar v1.1.1 // indirect | ||
github.com/BurntSushi/toml v1.1.0 // indirect | ||
github.com/alecthomas/template v0.0.0-20190718012654-fb15b899a751 // indirect | ||
github.com/alecthomas/units v0.0.0-20211218093645-b94a6e3cc137 // indirect | ||
github.com/bmatcuk/doublestar v1.3.4 // indirect | ||
github.com/gizak/termui/v3 v3.1.0 // indirect | ||
github.com/karrick/godirwalk v1.7.8 // indirect | ||
github.com/labstack/echo v3.2.1+incompatible // indirect | ||
github.com/labstack/gommon v0.2.7 // indirect | ||
github.com/mattn/go-colorable v0.1.2 // indirect | ||
github.com/mattn/go-isatty v0.0.8 // indirect | ||
github.com/karrick/godirwalk v1.17.0 // indirect | ||
github.com/labstack/echo v3.3.10+incompatible // indirect | ||
github.com/labstack/gommon v0.3.1 // indirect | ||
github.com/mattn/go-colorable v0.1.12 // indirect | ||
github.com/mattn/go-isatty v0.0.14 // indirect | ||
github.com/mattn/go-runewidth v0.0.13 // indirect | ||
github.com/mitchellh/go-wordwrap v1.0.0 // indirect | ||
github.com/nsf/termbox-go v0.0.0-20190121233118-02980233997d // indirect | ||
github.com/pkg/errors v0.8.0 // indirect | ||
github.com/mitchellh/go-wordwrap v1.0.1 // indirect | ||
github.com/nsf/termbox-go v1.1.1 // indirect | ||
github.com/pkg/errors v0.9.1 // indirect | ||
github.com/rivo/uniseg v0.2.0 // indirect | ||
github.com/valyala/bytebufferpool v1.0.0 // indirect | ||
github.com/valyala/fasttemplate v1.0.1 // indirect | ||
golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550 // indirect | ||
golang.org/x/sys v0.0.0-20211216021012-1d35b9e2eb4e // indirect | ||
github.com/valyala/fasttemplate v1.2.1 // indirect | ||
golang.org/x/crypto v0.0.0-20220525230936-793ad666bf5e // indirect | ||
golang.org/x/sys v0.0.0-20220610221304-9f5ed59c137d // indirect | ||
golang.org/x/text v0.3.7 // indirect | ||
golang.org/x/tools v0.0.0-20200130002326-2f3ba24bd6e7 // indirect | ||
golang.org/x/tools v0.1.11 // indirect | ||
gopkg.in/alecthomas/kingpin.v2 v2.2.6 // indirect | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters