.github: update

This commit is contained in:
Felix Lange 2025-07-04 17:57:23 +02:00
parent 66c4af3e00
commit a9f51b4337

View file

@ -1,8 +1,10 @@
on: on:
push: push:
branches: [ master ] branches:
- master
pull_request: pull_request:
branches: [ master ] branches:
- master
workflow_dispatch: workflow_dispatch:
jobs: jobs:
@ -11,6 +13,8 @@ jobs:
runs-on: self-hosted-ghr runs-on: self-hosted-ghr
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
with:
submodules: false
# Cache build tools to avoid downloading them each time # Cache build tools to avoid downloading them each time
- uses: actions/cache@v4 - uses: actions/cache@v4
@ -41,14 +45,14 @@ jobs:
- '1.23' - '1.23'
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
with:
submodules: true
- name: Set up Go - name: Set up Go
uses: actions/setup-go@v5 uses: actions/setup-go@v5
with: with:
go-version: ${{ matrix.go }} go-version: ${{ matrix.go }}
cache-dependency-path: | cache: false
go.sum
build/checksums.txt
- name: Run tests - name: Run tests
run: go test ./... run: go test ./...