-
Notifications
You must be signed in to change notification settings - Fork 8
37 lines (32 loc) · 933 Bytes
/
pr.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
name: pr-checks
on:
pull_request:
types: [ opened, synchronize, reopened, ready_for_review ]
paths-ignore:
- '**.md' ### Ignore running when .md files change
jobs:
validate-go-basic-tests-file:
permissions:
pull-requests: write
uses: ./.github/workflows/go-basic-tests.yaml
with:
GO_VERSION: 1.19
BUILD_PATH: "./testdata/."
UNIT_TESTS_PATH: "./testdata/."
# TEST_MULTI_ENVIRONMENTS: true
secrets: inherit
# Validate release files and release pkg.
validate-package-releaser-file:
needs: validate-go-basic-tests-file
permissions:
contents: write
pull-requests: write
uses: ./.github/workflows/package-release.yaml
with:
RELEASE: "v1.0.${{ github.run_number }}"
GO_VERSION: 1.19
IS_DRAFT: false
BUILD_PATH: "./testdata/."
UNIT_TESTS_PATH: "./testdata/."
secrets: inherit
# TODO: Remove created tag