Skip to content

Commit

Permalink
Update Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
whonion committed May 10, 2023
1 parent afbbf1f commit ec295ed
Showing 1 changed file with 26 additions and 12 deletions.
38 changes: 26 additions & 12 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,12 +1,26 @@
BINARY_NAME=go-faucet

build:
go build -o ${BINARY_NAME} main.go

run:
go build -o ${BINARY_NAME} main.go
./${BINARY_NAME}

clean:
go clean
rm ${BINARY_NAME}
name: Makefile

on:
push:
branches:
- main
pull_request:
branches:
- main

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v2

- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: '1.20'

- name: Makefile CLI
run: |
make all

0 comments on commit ec295ed

Please sign in to comment.