Skip to content

Commit

Permalink
👷 ci(actions): add master build
Browse files Browse the repository at this point in the history
  • Loading branch information
iyear committed Oct 8, 2022
1 parent a2cba5d commit 8adf94b
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/master.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: master builder

on:
push:
branches: [ master ]
paths:
- '**.go'
- 'go.mod'
- 'go.sum'
- '.github/workflows/*.yml'
jobs:
build-and-test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Golang env
uses: actions/setup-go@v3
with:
go-version: 1.16
cache: true
- name: Test
run: go test -v ./...
- name: Build
run: go build

0 comments on commit 8adf94b

Please sign in to comment.