From db2778be088ced6569f0f0611e8640653204c436 Mon Sep 17 00:00:00 2001 From: Carlos A Becker Date: Tue, 8 Nov 2022 10:03:45 -0300 Subject: [PATCH] fix: go 1.19 in the release workflow Signed-off-by: Carlos A Becker --- .github/workflows/goreleaser.yml | 6 +++++- .github/workflows/lint.yml | 3 ++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/goreleaser.yml b/.github/workflows/goreleaser.yml index e7f6758..30957a6 100644 --- a/.github/workflows/goreleaser.yml +++ b/.github/workflows/goreleaser.yml @@ -21,7 +21,8 @@ jobs: fetch-depth: 0 - uses: actions/setup-go@v3 with: - go-version: ~1.17 + go-version: ~1.19 + cache: true - uses: docker/setup-qemu-action@v2 - uses: docker/login-action@v2 with: @@ -47,3 +48,6 @@ jobs: TWITTER_CONSUMER_SECRET: ${{ secrets.TWITTER_CONSUMER_SECRET }} TWITTER_ACCESS_TOKEN: ${{ secrets.TWITTER_ACCESS_TOKEN }} TWITTER_ACCESS_TOKEN_SECRET: ${{ secrets.TWITTER_ACCESS_TOKEN_SECRET }} + +# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json + diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index cbafa8a..a7f8796 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -13,7 +13,8 @@ jobs: steps: - uses: actions/setup-go@v3 with: - go-version: ~1.17 + go-version: ~1.19 + cache: true - uses: actions/checkout@v3 - uses: golangci/golangci-lint-action@v3 with: