Skip to content

WIP: test release

WIP: test release #10

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/[email protected]
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 vendor && 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/[email protected]
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/[email protected]
with:
message_id: ${{ steps.slack.outputs.message_id }}
channel: ci
status: FAILED
color: danger