mirror of
https://github.com/safing/portmaster
synced 2025-09-02 02:29:12 +00:00
Use earthly for testing in github actions
This commit is contained in:
parent
a24e60c2e5
commit
ba54bed5b6
1 changed files with 4 additions and 11 deletions
15
.github/workflows/go.yml
vendored
15
.github/workflows/go.yml
vendored
|
@ -40,16 +40,9 @@ jobs:
|
||||||
name: Test
|
name: Test
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Check out code
|
- uses: earthly/actions-setup@v1
|
||||||
uses: actions/checkout@v3
|
|
||||||
|
|
||||||
- name: Setup Go
|
|
||||||
uses: actions/setup-go@v4
|
|
||||||
with:
|
with:
|
||||||
go-version: '^1.21'
|
version: v0.8.0
|
||||||
|
- uses: actions/checkout@v4
|
||||||
- name: Get dependencies
|
|
||||||
run: go mod download
|
|
||||||
|
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
run: ./test --test-only
|
run: earthly --ci +test-go
|
||||||
|
|
Loading…
Add table
Reference in a new issue