try caching tools

This commit is contained in:
Sina Mahmoodi 2025-01-23 14:09:05 +01:00
parent 6423641ce6
commit 5898421d1e

View file

@ -13,11 +13,19 @@ jobs:
runs-on: self-hosted runs-on: self-hosted
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
# Cache build tools to avoid downloading them each time
- uses: actions/cache@v4
with:
path: build/cache
key: ${{ runner.os }}-build-tools-cache-${{ hashFiles('build/checksums.txt') }}
- name: Set up Go - name: Set up Go
uses: actions/setup-go@v5 uses: actions/setup-go@v5
with: with:
go-version: 1.23.0 go-version: 1.23.0
cache: false cache: false
- name: Run linters - name: Run linters
run: | run: |
go run build/ci.go lint go run build/ci.go lint