Skip to content

ci/cd: fix invalid deps for Continuous integration healthcheck workfl… #13

ci/cd: fix invalid deps for Continuous integration healthcheck workfl…

ci/cd: fix invalid deps for Continuous integration healthcheck workfl… #13

Workflow file for this run

name: publishing
on:
push:
tags: [ 'v*' ]
permissions:
contents: write
jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
with: { fetch-depth: 0 }
- uses: actions/[email protected]
with: { go-version: 1.22.x, cache: true }
- run: make env deps-fetch test
- uses: goreleaser/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GORELEASER_TOKEN }}
with:
distribution: goreleaser
version: latest
args: release --rm-dist
notify:
needs: [ release ]
if: failure() || success()
runs-on: ubuntu-latest
steps:
- uses: rtCamp/[email protected]
env:
SLACK_COLOR: ${{ contains(needs.*.result, 'failure') && 'failure' || 'success' }}
SLACK_ICON: https://github.com/github.png?size=64
SLACK_TITLE: '${{ github.repository }}: ${{ github.workflow }}'
SLACK_USERNAME: GitHub Actions
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}