Skip to content

Merge pull request #23 from embrace-io/dependabot/go_modules/github.c… #71

Merge pull request #23 from embrace-io/dependabot/go_modules/github.c…

Merge pull request #23 from embrace-io/dependabot/go_modules/github.c… #71

Workflow file for this run

name: Go build
on: [push, pull_request]
jobs:
build:
name: Build Go
runs-on: ubuntu-latest
steps:
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: '1.21'
- name: Check out code
uses: actions/checkout@v4
- name: Check go fmt has been run
run: |
echo 'Check if go fmt has been run'
make go_fmt
[[ "$(git diff --name-only | wc -l)" -eq "0" ]]
- name: Build
run: make