Skip to content

WIP: Test release

WIP: Test release #4

Workflow file for this run

name: build
# This workflow is triggered on pushes to the repository.
on: [push, pull_request]
jobs:
build:
name: build-job
runs-on: ubuntu-latest
steps:
- name: Slack Notify Build
continue-on-error: true
uses: voxmedia/github-action-slack-notify-build@v1.1.2
id: slack
with:
channel: ci
status: STARTED
color: good
env:
SLACK_BOT_TOKEN: ${{ secrets.SLACK_NOTIFICATIONS_BOT_TOKEN }}
- name: Install Go 1.16.x
uses: actions/setup-go@v2
with:
go-version: 1.16.x
- name: Checkout repo
uses: actions/checkout@v2
- name: Test
run: make test
- name: Docker Build
run: make docker-build
- name: Notify Slack Success
continue-on-error: true
if: success()
env:
SLACK_BOT_TOKEN: ${{ secrets.SLACK_NOTIFICATIONS_BOT_TOKEN }}
uses: voxmedia/github-action-slack-notify-build@v1.1.2
with:
message_id: ${{ steps.slack.outputs.message_id }}
channel: ci
status: SUCCESS
color: good
- name: Notify Slack Fail
continue-on-error: true
if: failure()
env:
SLACK_BOT_TOKEN: ${{ secrets.SLACK_NOTIFICATIONS_BOT_TOKEN }}
uses: voxmedia/github-action-slack-notify-build@v1.1.2
with:
message_id: ${{ steps.slack.outputs.message_id }}
channel: ci
status: FAILED
color: danger