Skip to content

Commit

Permalink
ci: build binary for prs and master (#26)
Browse files Browse the repository at this point in the history
  • Loading branch information
joshdk authored Oct 31, 2021
1 parent 53a4033 commit 484dbad
Showing 1 changed file with 27 additions and 1 deletion.
28 changes: 27 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,33 @@
name: Build
on: [pull_request]
on:
pull_request:
branches:
- '*'
push:
branches:
- "master"
tags:
- "!*"

jobs:
build:
name: Build
runs-on: ubuntu-latest

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

- name: Setup go
uses: actions/setup-go@v2
with:
go-version: 1.17

- name: Build binary
run: |-
go build -o ./dist/aws-console .
./dist/aws-console --version
lint:
name: Lint
runs-on: ubuntu-latest
Expand Down

0 comments on commit 484dbad

Please sign in to comment.