From 60a3a3694089322d038db372efa7e51e585c4eab Mon Sep 17 00:00:00 2001 From: Muhammad Atif Ali Date: Tue, 16 Jul 2024 13:20:53 +0300 Subject: [PATCH 1/2] cI: use built-in go cache --- .github/workflows/ci.yaml | 18 +++--------------- 1 file changed, 3 insertions(+), 15 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 128b05a..7af1a2e 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -29,21 +29,9 @@ jobs: steps: - name: Checkout uses: actions/checkout@v4 - - - name: Echo Go Cache Paths - id: go-cache-paths - run: | - echo "GOCACHE=$(go env GOCACHE)" >> ${{ runner.os == 'Windows' && '$env:' || '$' }}GITHUB_OUTPUT - echo "GOMODCACHE=$(go env GOMODCACHE)" >> ${{ runner.os == 'Windows' && '$env:' || '$' }}GITHUB_OUTPUT - - - name: Go Build Cache - uses: actions/cache@v3 - with: - path: ${{ steps.go-cache-paths.outputs.GOCACHE }} - key: ${{ runner.os }}-go-build-${{ hashFiles('**/go.**', '**.go') }} - - # Install Go! - - uses: actions/setup-go@v5 + + - name: Setup go + uses: actions/setup-go@v5 with: go-version: "~1.22" From 12cc48e255b1351ad41ae845cfcd3dac1d48db85 Mon Sep 17 00:00:00 2001 From: Muhammad Atif Ali Date: Tue, 16 Jul 2024 13:23:36 +0300 Subject: [PATCH 2/2] Update release.yaml --- .github/workflows/release.yaml | 18 ++++-------------- 1 file changed, 4 insertions(+), 14 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 090ce04..fc56b37 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -19,21 +19,11 @@ jobs: name: Build and publish runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - name: Checkout + uses: actions/checkout@v4 - - name: Echo Go Cache Paths - id: go-cache-paths - run: | - echo "GOCACHE=$(go env GOCACHE)" >> ${{ runner.os == 'Windows' && '$env:' || '$' }}GITHUB_OUTPUT - echo "GOMODCACHE=$(go env GOMODCACHE)" >> ${{ runner.os == 'Windows' && '$env:' || '$' }}GITHUB_OUTPUT - - - name: Go Build Cache - uses: actions/cache@v3 - with: - path: ${{ steps.go-cache-paths.outputs.GOCACHE }} - key: ${{ runner.os }}-go-build-${{ hashFiles('**/go.**', '**.go') }} - - - uses: actions/setup-go@v5 + - name: Setup go + uses: actions/setup-go@v5 with: go-version: "~1.22" pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy