From 5982683cddd2e29f96bcac523ebd1fc18c198b23 Mon Sep 17 00:00:00 2001 From: dcarrillo Date: Thu, 26 Jan 2023 20:35:39 +0100 Subject: [PATCH] chore: use cache in CI and bump checkout action to v3 --- .github/workflows/main.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index f1a41c5..889f3b8 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -15,12 +15,13 @@ jobs: matrix: make: ["lint", "test"] steps: - - uses: actions/checkout@v2.4.0 + - uses: actions/checkout@v3 - name: install go - uses: actions/setup-go@v2 + uses: actions/setup-go@v3 with: - go-version: "^1.19" + go-version: "1.19" + cache: true - name: Lint run: make ${{ matrix.make }} @@ -33,7 +34,7 @@ jobs: matrix: goosarch: [linux-amd64] steps: - - uses: actions/checkout@v2.4.0 + - uses: actions/checkout@v3 with: fetch-depth: 0