|
|
|
|
|
by sontek
457 days ago
|
|
I'm surprised that they were already using earthly and decided not to continue using it inside github actions. That is my favorite pattern so that what github actions is doing is the same as what I'd do locally. No `act` necessary: - name: Install Earthly
if: steps.check_changes.outputs.relevant_changes == 'true'
uses: earthly/actions-setup@v1
with:
version: v${{ env.EARTHLY }}
- name: Run tests and generate coverage summary
if: steps.check_changes.outputs.relevant_changes == 'true'
run: cd src/webapp && earthly --build-arg GO_VERSION=${{ env.GOLANG }} +coverage-summary
|
|