parent
7004aa2d93
commit
10f88868f1
3 changed files with 12 additions and 6 deletions
2
.github/workflows/codeql-analysis.yml
vendored
2
.github/workflows/codeql-analysis.yml
vendored
|
@ -36,6 +36,8 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
with:
|
||||||
|
ref: "refs/pull/${{ github.event.number }}/merge"
|
||||||
|
|
||||||
# Initializes the CodeQL tools for scanning.
|
# Initializes the CodeQL tools for scanning.
|
||||||
- name: Initialize CodeQL
|
- name: Initialize CodeQL
|
||||||
|
|
12
.github/workflows/release.yml
vendored
12
.github/workflows/release.yml
vendored
|
@ -12,9 +12,9 @@ jobs:
|
||||||
|
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
with:
|
||||||
- name: Unshallow
|
fetch-depth: 0
|
||||||
run: git fetch --prune --unshallow
|
ref: "refs/pull/${{ github.event.number }}/merge"
|
||||||
|
|
||||||
- name: Install semantic-release
|
- name: Install semantic-release
|
||||||
run: yarn global add --no-progress --non-interactive "semantic-release" "@semantic-release/exec"
|
run: yarn global add --no-progress --non-interactive "semantic-release" "@semantic-release/exec"
|
||||||
|
@ -31,9 +31,9 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
with:
|
||||||
- name: Unshallow
|
fetch-depth: 0
|
||||||
run: git fetch --prune --unshallow
|
ref: "refs/pull/${{ github.event.number }}/merge"
|
||||||
|
|
||||||
- name: Set up Go
|
- name: Set up Go
|
||||||
uses: actions/setup-go@v2.1.4
|
uses: actions/setup-go@v2.1.4
|
||||||
|
|
4
.github/workflows/test.yml
vendored
4
.github/workflows/test.yml
vendored
|
@ -22,6 +22,8 @@ jobs:
|
||||||
|
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
with:
|
||||||
|
fetch-depth: 0
|
||||||
|
|
||||||
- name: golangci-lint
|
- name: golangci-lint
|
||||||
uses: golangci/golangci-lint-action@v2.5.2
|
uses: golangci/golangci-lint-action@v2.5.2
|
||||||
|
@ -41,6 +43,8 @@ jobs:
|
||||||
|
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
with:
|
||||||
|
ref: "refs/pull/${{ github.event.number }}/merge"
|
||||||
|
|
||||||
- name: Test
|
- name: Test
|
||||||
run: go test -coverprofile cover.out ./...
|
run: go test -coverprofile cover.out ./...
|
||||||
|
|
Loading…
Reference in a new issue