From ba54bed5b605bf007ee811f8fb1e0fbe60a310aa Mon Sep 17 00:00:00 2001 From: Patrick Pacher Date: Wed, 27 Mar 2024 14:46:46 +0100 Subject: [PATCH] Use earthly for testing in github actions --- .github/workflows/go.yml | 15 ++++----------- 1 file changed, 4 insertions(+), 11 deletions(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 823617ea..0e6b3dad 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -40,16 +40,9 @@ jobs: name: Test runs-on: ubuntu-latest steps: - - name: Check out code - uses: actions/checkout@v3 - - - name: Setup Go - uses: actions/setup-go@v4 + - uses: earthly/actions-setup@v1 with: - go-version: '^1.21' - - - name: Get dependencies - run: go mod download - + version: v0.8.0 + - uses: actions/checkout@v4 - name: Run tests - run: ./test --test-only + run: earthly --ci +test-go