Skip to content

Fix typo

Fix typo #186

Workflow file for this run

name: build-git-get
on: [push]
permissions:
contents: write
jobs:
build:
name: Build and Test
runs-on: ubuntu-latest
if: github.ref != 'refs/heads/master'
steps:
# UPDATE_HERE
# https://github.com/actions/checkout/releases
- name: Check out code into the Go module directory
uses: actions/checkout@v4
# UPDATE_HERE
# https://github.com/asdf-vm/actions/releases
- name: Install asdf & tools
uses: asdf-vm/actions/install@v3
- name: Check out full code history
run: |
git fetch --prune --unshallow
git pull --tags
- name: Test and Build
run: |
make
- name: Slack Notification
uses: 8398a7/action-slack@v3
if: always()
with:
status: ${{ job.status }}
fields: repo,message # commit,author,action,eventName,ref,workflow,job,took
env:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK }}
release:
name: Release
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/master'
steps:
# UPDATE_HERE
# https://github.com/actions/checkout/releases
- name: Check out code into the Go module directory
uses: actions/checkout@v4
# UPDATE_HERE
# https://github.com/asdf-vm/actions/releases
- name: Install asdf & tools
uses: asdf-vm/actions/install@v3
- name: Check out full code history
run: |
git fetch --prune --unshallow
git pull --tags
- name: Test and Build
run: |
make
- name: Release
shell: bash
run: |
git tag "$(svu next)"
git push --tags
goreleaser release --clean
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
HOMEBREW_TAP_GITHUB_TOKEN: ${{ secrets.HOMEBREW_TAP_GITHUB_TOKEN }}
- name: Slack Notification
uses: 8398a7/action-slack@v3
if: always()
with:
status: ${{ job.status }}
fields: repo,message # commit,author,action,eventName,ref,workflow,job,took
env:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK }}