deps: update go version and ci fix

This commit is contained in:
Mohamed Sohail 2023-02-24 10:39:12 +00:00
parent cd67d2608c
commit 661e6cf1f1
Signed by: kamikazechaser
GPG Key ID: 7DD45520C01CD85D
2 changed files with 9 additions and 3 deletions

View File

@ -13,14 +13,20 @@ jobs:
environment: build environment: build
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v2 uses: actions/checkout@v3
with: with:
fetch-depth: 0 fetch-depth: 0
- name: Workaround Git Security Warning
run: |
# Workaround a bug in github actions:
# https://github.com/actions/runner-images/issues/6775.
git config --global --add safe.directory "$GITHUB_WORKSPACE"
- name: Set up Go - name: Set up Go
uses: actions/setup-go@v2 uses: actions/setup-go@v2
with: with:
go-version: 1.19.3 go-version: 1.20.1
- name: Run GoReleaser - name: Run GoReleaser
uses: goreleaser/goreleaser-action@v2 uses: goreleaser/goreleaser-action@v2

2
go.mod
View File

@ -1,6 +1,6 @@
module github.com/grassrootseconomics/cic-chain-events module github.com/grassrootseconomics/cic-chain-events
go 1.19 go 1.20
require ( require (
github.com/VictoriaMetrics/metrics v1.23.1 github.com/VictoriaMetrics/metrics v1.23.1