Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 13 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,23 @@ jobs:
- uses: actions/checkout@v2
- name: make build
run: make build
snyk-vuln:
snyk-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Run Snyk to check for vulnerabilities
uses: snyk/actions/golang@master
env:
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
with:
command: test
snyk-monitor:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Run Snyk to check for vulnerabilities
uses: snyk/actions/golang@master
env:
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
with:
command: monitor
20 changes: 16 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,21 +32,34 @@ jobs:
- uses: actions/checkout@v2
- name: make build
run: make build
snyk-vuln:
snyk-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Run Snyk to check for vulnerabilities
uses: snyk/actions/golang@master
env:
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
with:
command: test
snyk-monitor:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Run Snyk to check for vulnerabilities
uses: snyk/actions/golang@master
env:
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
with:
command: monitor
create-release:
runs-on: ubuntu-latest
needs:
- make-pacts
- make-tests
- make-build
- snyk-vuln
- snyk-test
- snyk-monitor
steps:
- uses: actions/checkout@v2
with:
Expand All @@ -63,5 +76,4 @@ jobs:
- name: run goreleaser
run: curl -sL https://git.io/goreleaser | VERSION=v0.123.3 bash
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
HOMEBREW_TAP_GITHUB_TOKEN: ${{ secrets.HOMBREW_TAP_GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.HOMBREW_TAP_GITHUB_TOKEN }}
1 change: 0 additions & 1 deletion .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ brews:
install: bin.install "replicated"
homepage: https://www.replicated.com/docs/reference/vendor-cli/
description: "Manage your app's channels and releases from the command line"
token: "{{ .Env.HOMEBREW_TAP_GITHUB_TOKEN }}"
builds:
- goos:
- linux
Expand Down