Skip to content
This repository was archived by the owner on Oct 26, 2023. It is now read-only.

Commit 24fb0db

Browse files
author
Jacob Marble
authored
chore: add semantic PR and commit message checks (#21)
* chore: add semantic PR and commit message checks * chore: update golang to 1.17
1 parent 36069da commit 24fb0db

File tree

4 files changed

+30
-7
lines changed

4 files changed

+30
-7
lines changed

.github/semantic.yml

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

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
strategy:
1313
fail-fast: false
1414
matrix:
15-
go: [ "1.16", "1.17" ]
15+
go: [ "1.17", "1.18" ]
1616
package: [ ".", "./ioxsql" ]
1717
runs-on: ubuntu-latest
1818
steps:
@@ -36,6 +36,6 @@ jobs:
3636
3737
- name: staticcheck
3838
run: >
39-
go install honnef.co/go/tools/cmd/staticcheck@latest &&
39+
go install honnef.co/go/tools/cmd/staticcheck@2022.1 &&
4040
cd ${{ matrix.package }} &&
4141
staticcheck

.github/workflows/semantic.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
---
2+
name: "Semantic PR and Commit Messages"
3+
4+
on:
5+
pull_request:
6+
types: [opened, reopened, synchronize, edited]
7+
8+
jobs:
9+
semantic:
10+
uses: influxdata/validate-semantic-github-messages/.github/workflows/semantic.yml@main

go.mod

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/influxdata/influxdb-iox-client-go
22

3-
go 1.16
3+
go 1.17
44

55
require (
66
github.com/apache/arrow/go/v7 v7.0.0
@@ -10,3 +10,20 @@ require (
1010
google.golang.org/grpc v1.41.0
1111
google.golang.org/protobuf v1.28.0
1212
)
13+
14+
require (
15+
github.com/davecgh/go-spew v1.1.1 // indirect
16+
github.com/goccy/go-json v0.7.10 // indirect
17+
github.com/golang/protobuf v1.5.2 // indirect
18+
github.com/google/flatbuffers v2.0.0+incompatible // indirect
19+
github.com/klauspost/compress v1.13.6 // indirect
20+
github.com/pierrec/lz4/v4 v4.1.9 // indirect
21+
github.com/pmezard/go-difflib v1.0.0 // indirect
22+
golang.org/x/mod v0.5.1-0.20210830214625-1b1db11ec8f4 // indirect
23+
golang.org/x/net v0.0.0-20210614182718-04defd469f4e // indirect
24+
golang.org/x/sys v0.0.0-20211025201205-69cdffdb9359 // indirect
25+
golang.org/x/text v0.3.6 // indirect
26+
golang.org/x/tools v0.1.4 // indirect
27+
golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 // indirect
28+
gopkg.in/yaml.v3 v3.0.0-20200615113413-eeeca48fe776 // indirect
29+
)

0 commit comments

Comments
 (0)