Skip to content

Commit

Permalink
run CI for every PR
Browse files Browse the repository at this point in the history
  • Loading branch information
JG1VPP committed Aug 26, 2023
1 parent 5dae69d commit f2413b5
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 11 deletions.
11 changes: 0 additions & 11 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,6 @@ permissions:
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
jobs:
Test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
with:
go-version: '1.20'
- run: |
go mod tidy
go test
working-directory: core
BuildExe:
runs-on: windows-latest
steps:
Expand Down
22 changes: 22 additions & 0 deletions .github/workflows/clean.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: clean
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
Test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
with:
go-version: '1.20'
- run: |
test -z `gofmt -l .`
- run: |
go mod tidy
go test
working-directory: core
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ CW4ISR
![image](https://img.shields.io/badge/Go-1.20-red.svg)
![image](https://img.shields.io/badge/license-MIT-darkblue.svg)
![badge](https://github.com/nextzlog/cw4i/actions/workflows/build.yaml/badge.svg)
![badge](https://github.com/nextzlog/cw4i/actions/workflows/clean.yaml/badge.svg)

CW4ISR is a highly programmable Morse Decoder that assists automated amateur radio operations.

Expand Down

0 comments on commit f2413b5

Please sign in to comment.