Merge pull request #246 from interlynk-io/update/deps #32
Workflow file for this run
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: releaser | |
on: | |
push: | |
tags: | |
- 'v*' | |
jobs: | |
releaser: | |
runs-on: ubuntu-latest | |
permissions: | |
id-token: write | |
contents: write | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- run: git fetch --force --tags | |
- uses: actions/setup-go@v3 | |
with: | |
go-version: '>=1.20' | |
check-latest: true | |
cache: true | |
- name: Download syft binary | |
run: curl -sSfL https://raw.githubusercontent.com/anchore/syft/main/install.sh | sh -s -- -b /usr/local/bin | |
- name: Run syft | |
run: syft version | |
- name: Goreleaser | |
uses: goreleaser/goreleaser-action@v4 | |
with: | |
install-only: true | |
- run: go version | |
- run: goreleaser -v | |
- name: Releaser | |
run: make release | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |