This commit is contained in:
idotalk 2026-06-20 12:28:31 +03:00
commit a22c4e0987

View file

@ -10,13 +10,13 @@ on:
jobs:
lint:
name: Lint
runs-on: self-hosted-ghr
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: false
# Cache build tools to avoid downloading them each time
# Kept your custom cache for general build tools if needed
- uses: actions/cache@v4
with:
path: build/cache
@ -26,7 +26,7 @@ jobs:
uses: actions/setup-go@v5
with:
go-version: 1.24
cache: false
cache: true # Automatically handles Go module and build caching
- name: Run linters
run: |
@ -37,7 +37,7 @@ jobs:
test:
name: Test
needs: lint
runs-on: self-hosted-ghr
runs-on: ubuntu-latest
strategy:
matrix:
go:
@ -52,7 +52,7 @@ jobs:
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go }}
cache: false
cache: true # Speeds up matrix testing by caching modules across runs
- name: Run tests
run: go test ./...