mirror of
https://github.com/DeBrosOfficial/orama.git
synced 2026-03-27 12:24:12 +00:00
ci: upgrade go to 1.24, add caching, run unit tests
- upgrade go to 1.24 in release-apt.yml - add go.sum dependency caching to release workflows - update publish-sdk.yml to run vitest unit tests
This commit is contained in:
parent
7d5ccc0678
commit
169be97026
4
.github/workflows/publish-sdk.yml
vendored
4
.github/workflows/publish-sdk.yml
vendored
@ -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
|
||||||
|
|||||||
3
.github/workflows/release-apt.yml
vendored
3
.github/workflows/release-apt.yml
vendored
@ -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
|
||||||
|
|||||||
2
.github/workflows/release.yaml
vendored
2
.github/workflows/release.yaml
vendored
@ -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
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user