fix(plugins): set pending releases to failed #992
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "Unit tests" | |
on: | |
pull_request: | |
paths: | |
- 'pkg/**' | |
- 'cmd/**' | |
- 'Dockerfile*' | |
- 'go.mod' | |
- 'go.sum' | |
- '.golangci.yaml' | |
jobs: | |
lint: | |
runs-on: [ default ] | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
- name: Set up Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version-file: 'go.mod' | |
token: ${{ secrets.GITHUB_TOKEN }} | |
- name: golangci-lint | |
run: make lint | |
test: | |
runs-on: [ default ] | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
- name: Set up Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version-file: 'go.mod' | |
token: ${{ secrets.GITHUB_TOKEN }} | |
- name: test | |
run: make test | |
build: | |
runs-on: [ default ] | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
- name: Set up Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version-file: 'go.mod' | |
token: ${{ secrets.GITHUB_TOKEN }} | |
- name: build | |
run: make build |