From aca1d5f609d0e73a9c5695d583474beaeb3a3099 Mon Sep 17 00:00:00 2001 From: Damon Blais Date: Fri, 21 Jun 2024 22:16:27 -0700 Subject: [PATCH] ci: enable caching in Golang CI workflow to improve performance --- .github/workflows/golang-ci.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/golang-ci.yml b/.github/workflows/golang-ci.yml index 9b7b6dd..2c6faa1 100644 --- a/.github/workflows/golang-ci.yml +++ b/.github/workflows/golang-ci.yml @@ -17,6 +17,7 @@ jobs: - name: Set up Go environment uses: actions/setup-go@v5 with: + cache: true go-version: "1.22.x" - name: Install dependencies @@ -43,6 +44,7 @@ jobs: - name: Set up Go environment uses: actions/setup-go@v5 with: + cache: true go-version: ${{ matrix.go-version }} - name: Install dependencies