Skip to content

🌱 Bump actions/cache from 3.3.2 to 4.0.0 #146

🌱 Bump actions/cache from 3.3.2 to 4.0.0

🌱 Bump actions/cache from 3.3.2 to 4.0.0 #146

Workflow file for this run

name: Test
on:
pull_request:
paths:
- '.github/workflows/**'
- '**.go'
- 'Makefile'
- 'go.**'
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
test:
name: Test
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./src/github.com/${{ github.repository }}
steps:
- name: Checkout code
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
with:
path: ./src/github.com/${{ github.repository }}
- name: Install Go
uses: actions/setup-go@v5
with:
go-version: 1.19
- name: Cache Go modules
uses: actions/cache@13aacd865c20de90d75de3b17ebe84f7a17d57d2 # v4.0.0
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
- name: Test
run: make test