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: