go-generic/.forgejo/workflows/workflow.yaml

27 lines
520 B
YAML
Raw Permalink Normal View History

2023-12-14 09:43:03 +00:00
---
name: Workflow
2023-12-14 09:43:03 +00:00
on:
pull_request:
types:
- opened
- synchronize
jobs:
test:
if: ${{ ! github.event.pull_request.draft }}
2023-12-14 09:43:03 +00:00
runs-on: docker
env:
GO_TEST_VERBOSE: "1"
GO_TEST_COVER: "1"
steps:
- name: Checkout Repository
uses: https://code.forgejo.org/actions/checkout@v4
- name: Test
uses: https://codeflow.dananglin.me.uk/actions/mage-ci@main
2023-12-14 09:43:03 +00:00
with:
target: test
env:
PROJECT_TEST_VERBOSE: "1"
PROJECT_TEST_COVER: "1"