Skip to content

Commit

Permalink
Merge pull request #8 from nkmr-jp/develop
Browse files Browse the repository at this point in the history
Update go version and dependencies
  • Loading branch information
nkmr-jp committed Jul 9, 2023
2 parents 129b2a2 + 6650452 commit 27cd0c6
Show file tree
Hide file tree
Showing 8 changed files with 1,032 additions and 74 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ on:
tags:
- v*
branches:
- develop
- main
pull_request:
permissions:
Expand All @@ -17,12 +16,12 @@ jobs:
name: lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: golangci-lint
uses: golangci/golangci-lint-action@v2
uses: golangci/golangci-lint-action@v3
with:
# Optional: version of golangci-lint to use in form of v1.2 or v1.2.3 or `latest` to use the latest version
version: v1.49.0
version: v1.52.2

# Optional: working directory, useful for monorepos
# working-directory: somedir
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,16 @@ on:
jobs:
release:
name: Release
runs-on: ubuntu-18.04
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Setup Node.js
uses: actions/setup-node@v1
uses: actions/setup-node@v3
with:
node-version: 12
node-version: 20
- name: Install jq yq
run: |
sudo wget https://github.com/stedolan/jq/releases/download/jq-1.6/jq-linux64 -O /usr/bin/jq &&\
Expand All @@ -25,7 +25,7 @@ jobs:
yq --version
- name: Install gitmoji-semver
run: |
git clone https://github.com/nkmr-jp/gitmoji-semver -b v2.0.0
git clone https://github.com/nkmr-jp/gitmoji-semver -b v2.0.5
- name: Generate semantic-release configs
working-directory: ./gitmoji-semver
run: |
Expand Down
2 changes: 1 addition & 1 deletion .go-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.16.15
1.20.2
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ test:
deploy:
gcloud functions deploy $(FUNC_NAME) \
--gen2 \
--runtime=go116 \
--runtime=go120 \
--region=$(REGION) \
--trigger-topic=$(FUNC_NAME)-topic \
--entry-point=$(ENTRY_POINT) \
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Cloud Functions that fetch data from public APIs and store it in Google Cloud Storage.

- Runtime: Go 1.16
- Runtime: Go 1.20
- Gen: [Cloud Functions (2nd gen)](https://cloud.google.com/functions/docs/2nd-gen/overview)


Expand Down
57 changes: 46 additions & 11 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,18 +1,53 @@
module github.com/nkmr-jp/gcf-fetch

go 1.16
go 1.20

require (
cloud.google.com/go/iam v0.3.0 // indirect
cloud.google.com/go/storage v1.10.0
github.com/GoogleCloudPlatform/functions-framework-go v1.5.3
github.com/cloudevents/sdk-go/v2 v2.6.1
cloud.google.com/go/storage v1.31.0
github.com/GoogleCloudPlatform/functions-framework-go v1.7.4
github.com/cloudevents/sdk-go/v2 v2.14.0
github.com/googleapis/google-cloudevents-go v0.2.1
github.com/nkmr-jp/zl v1.1.0
github.com/stretchr/testify v1.7.0
github.com/thoas/go-funk v0.9.2 // indirect
github.com/nkmr-jp/zl v1.2.1
github.com/stretchr/testify v1.8.4
go.uber.org/zap v1.24.0
google.golang.org/api v0.130.0
)

require (
cloud.google.com/go v0.110.2 // indirect
cloud.google.com/go/compute v1.19.3 // indirect
cloud.google.com/go/compute/metadata v0.2.3 // indirect
cloud.google.com/go/iam v1.1.0 // indirect
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect
github.com/golang/protobuf v1.5.3 // indirect
github.com/google/go-cmp v0.5.9 // indirect
github.com/google/s2a-go v0.1.4 // indirect
github.com/google/uuid v1.3.0 // indirect
github.com/googleapis/enterprise-certificate-proxy v0.2.5 // indirect
github.com/googleapis/gax-go/v2 v2.11.0 // indirect
github.com/json-iterator/go v1.1.10 // indirect
github.com/logrusorgru/aurora/v4 v4.0.0 // indirect
github.com/modern-go/concurrent v0.0.0-20180228061459-e0a39a4cb421 // indirect
github.com/modern-go/reflect2 v0.0.0-20180701023420-4b7aa43c6742 // indirect
github.com/pmezard/go-difflib v1.0.0 // indirect
github.com/samber/lo v1.38.1 // indirect
go.opencensus.io v0.24.0 // indirect
go.uber.org/atomic v1.9.0 // indirect
go.uber.org/multierr v1.8.0 // indirect
go.uber.org/zap v1.21.0
google.golang.org/api v0.74.0
google.golang.org/protobuf v1.28.0 // indirect
golang.org/x/crypto v0.11.0 // indirect
golang.org/x/exp v0.0.0-20220827204233-334a2380cb91 // indirect
golang.org/x/net v0.12.0 // indirect
golang.org/x/oauth2 v0.9.0 // indirect
golang.org/x/sys v0.10.0 // indirect
golang.org/x/text v0.11.0 // indirect
golang.org/x/xerrors v0.0.0-20220907171357-04be3eba64a2 // indirect
google.golang.org/appengine v1.6.7 // indirect
google.golang.org/genproto v0.0.0-20230530153820-e85fd2cbaebc // indirect
google.golang.org/genproto/googleapis/api v0.0.0-20230530153820-e85fd2cbaebc // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20230629202037-9506855d4529 // indirect
google.golang.org/grpc v1.56.1 // indirect
google.golang.org/protobuf v1.31.0 // indirect
gopkg.in/natefinch/lumberjack.v2 v2.2.1 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
)
Loading

0 comments on commit 27cd0c6

Please sign in to comment.