From 661e6cf1f1a6bccabe2ed445d0e4bb6bbccca890 Mon Sep 17 00:00:00 2001 From: Mohammed Sohail Date: Fri, 24 Feb 2023 10:39:12 +0000 Subject: [PATCH] deps: update go version and ci fix --- .github/workflows/build.yaml | 10 ++++++++-- go.mod | 2 +- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index f5a8e6f..ee2032b 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -13,14 +13,20 @@ jobs: environment: build steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: 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 uses: actions/setup-go@v2 with: - go-version: 1.19.3 + go-version: 1.20.1 - name: Run GoReleaser uses: goreleaser/goreleaser-action@v2 diff --git a/go.mod b/go.mod index 1c2f7e3..27787f0 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/grassrootseconomics/cic-chain-events -go 1.19 +go 1.20 require ( github.com/VictoriaMetrics/metrics v1.23.1