Merge pull request #88 from DeBrosDAO/nightly

ci: upgrade go to 1.24, add caching, run unit tests
This commit is contained in:
DeBros 2026-03-26 18:49:00 +02:00 committed by GitHub
commit 82c477266d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 5 additions and 4 deletions

View File

@ -50,8 +50,8 @@ jobs:
- name: Build - name: Build
run: pnpm build run: pnpm build
- name: Run tests - name: Run unit tests
run: pnpm test -- --run run: pnpm vitest run tests/unit
- name: Publish (dry run) - name: Publish (dry run)
if: inputs.dry-run == true if: inputs.dry-run == true

View File

@ -28,7 +28,8 @@ jobs:
- name: Set up Go - name: Set up Go
uses: actions/setup-go@v5 uses: actions/setup-go@v5
with: with:
go-version: "1.23" go-version: "1.24"
cache-dependency-path: core/go.sum
- name: Get version - name: Get version
id: version id: version

View File

@ -24,7 +24,7 @@ jobs:
uses: actions/setup-go@v4 uses: actions/setup-go@v4
with: with:
go-version: '1.24' go-version: '1.24'
cache: true cache-dependency-path: core/go.sum
- name: Run GoReleaser - name: Run GoReleaser
uses: goreleaser/goreleaser-action@v5 uses: goreleaser/goreleaser-action@v5