Skip to content

ci: Bump actions/cache from 4.0.2 to 4.1.0 #573

ci: Bump actions/cache from 4.0.2 to 4.1.0

ci: Bump actions/cache from 4.0.2 to 4.1.0 #573

Workflow file for this run

name: "Tests"
on:
workflow_dispatch:
push:
jobs:
Unit-Tests:
strategy:
matrix:
# test the lower bounds of support, and the latest available
go-version: ["1.22.x"]
platform: [ubuntu-latest]
runs-on: ${{ matrix.platform }}
steps:
- uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 #v5.0.2
with:
go-version: ${{ matrix.go-version }}
- uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
- name: Restore bootstrap cache
id: bootstrap-cache
uses: actions/cache@2cdf405574d6ef1f33a1d12acccd3ae82f47b3f2 #v4.1.0
with:
path: |
~/go/pkg/mod
${{ github.workspace }}/.tmp
key: ${{ runner.os }}-go-${{ matrix.go-version }}-${{ hashFiles('**/go.sum') }}-${{ hashFiles('Makefile') }}
restore-keys: |
${{ runner.os }}-go-${{ matrix.go-version }}-${{ hashFiles('**/go.sum') }}-
${{ runner.os }}-go-${{ matrix.go-version }}-
- name: Bootstrap project dependencies
if: steps.bootstrap-cache.outputs.cache-hit != 'true'
run: make bootstrap
- name: Run unit tests
run: make unit