Skip to content

work

work #6

Workflow file for this run

name: Tests
on:
pull_request:
jobs:
test-app:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v4
with:
go-version: '1.21'
- uses: technote-space/[email protected]
id: git_diff
with:
PATTERNS: |
**/*.go
go.mod
go.sum
- name: test app
if: env.GIT_DIFF
run: |
echo DUMMY >cover.out
- uses: actions/upload-artifact@v3
if: env.GIT_DIFF
with:
name: '${{ github.sha }}-app-coverage'
path: cover.out