Skip to content

Commit

Permalink
Update Go version (#63)
Browse files Browse the repository at this point in the history
  • Loading branch information
sj14 authored Oct 23, 2022
1 parent d145bb1 commit d38c374
Show file tree
Hide file tree
Showing 12 changed files with 38 additions and 1,371 deletions.
15 changes: 7 additions & 8 deletions .github/workflows/go.yaml
Original file line number Diff line number Diff line change
@@ -1,26 +1,25 @@
name: Go

on:
- push
- pull_request
push:
branches:
- "main"
pull_request:

jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Check out code into the Go module directory
uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v2-beta
uses: actions/setup-go@v3
id: go

- name: Check out code into the Go module directory
uses: actions/checkout@v2

- name: Get dependencies
run: |
go get -v -t -d ./...
- name: Build
run: go build -v ./main.go

- name: Test
run: go test -race ./...
16 changes: 15 additions & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,18 @@ require (
golang.org/x/oauth2 v0.0.0-20220722155238-128564f6959c
)

go 1.13
require (
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/golang/protobuf v1.5.2 // indirect
github.com/google/go-querystring v1.1.0 // indirect
github.com/hashicorp/go-cleanhttp v0.5.2 // indirect
github.com/hashicorp/go-retryablehttp v0.7.1 // indirect
github.com/pmezard/go-difflib v1.0.0 // indirect
golang.org/x/net v0.0.0-20220805013720-a33c5aa5df48 // indirect
golang.org/x/time v0.0.0-20220722155302-e5dcc9cfc0b9 // indirect
google.golang.org/appengine v1.6.7 // indirect
google.golang.org/protobuf v1.28.1 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
)

go 1.19
611 changes: 1 addition & 610 deletions go.sum

Large diffs are not rendered by default.

3 changes: 0 additions & 3 deletions vendor/github.com/hashicorp/go-cleanhttp/go.mod

This file was deleted.

8 changes: 0 additions & 8 deletions vendor/github.com/hashicorp/go-retryablehttp/go.mod

This file was deleted.

10 changes: 0 additions & 10 deletions vendor/github.com/hashicorp/go-retryablehttp/go.sum

This file was deleted.

22 changes: 0 additions & 22 deletions vendor/github.com/xanzy/go-gitlab/go.mod

This file was deleted.

51 changes: 0 additions & 51 deletions vendor/github.com/xanzy/go-gitlab/go.sum

This file was deleted.

15 changes: 0 additions & 15 deletions vendor/golang.org/x/oauth2/go.mod

This file was deleted.

Loading

0 comments on commit d38c374

Please sign in to comment.