Skip to content

Commit

Permalink
Merge pull request #19 from essentialkaos/develop
Browse files Browse the repository at this point in the history
Added Aligo workflow step
  • Loading branch information
andyone authored Jan 13, 2021
2 parents c1b0918 + c4c154e commit 9ceb821
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 3 deletions.
25 changes: 23 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ on:
branches: [master]

jobs:
Ubuntu:
name: Linux
Go:
name: Go
runs-on: ubuntu-latest

env:
Expand Down Expand Up @@ -68,3 +68,24 @@ jobs:
CODECLIMATE_API_HOST: https://codebeat.co/webhooks/code_coverage
CODECLIMATE_REPO_TOKEN: ${{ secrets.CODECLIMATE_TOKEN }}
run: codeclimate-test-reporter < cover.out

Aligo:
name: Aligo
runs-on: ubuntu-latest

needs: Go

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

- name: Install Aligo
run: |
wget https://apps.kaos.st/aligo/latest/linux/x86_64/aligo
chmod +x aligo
- name: Print Aligo version info
run: ./aligo --version

- name: Check Go structs alignment info
run: ./aligo check ./...
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<p align="center"><a href="#readme"><img src="https://gh.kaos.st/go-jar.svg"/></a></p>

<p align="center">
<a href="https://pkg.go.dev/pkg.re/essentialkaos/go-jar.v1"><img src="https://gh.kaos.st/godoc.svg" alt="PkgGoDev"></a>
<a href="https://pkg.re/essentialkaos/go-jar.v1?docs"><img src="https://gh.kaos.st/godoc.svg" alt="PkgGoDev"></a>
<a href="https://goreportcard.com/report/github.com/essentialkaos/go-jar"><img src="https://goreportcard.com/badge/github.com/essentialkaos/go-jar"></a>
<a href="https://github.com/essentialkaos/go-jar/actions"><img src="https://github.com/essentialkaos/go-jar/workflows/CI/badge.svg" alt="GitHub Actions Status" /></a>
<a href="https://github.com/essentialkaos/go-jar/actions?query=workflow%3ACodeQL"><img src="https://github.com/essentialkaos/go-jar/workflows/CodeQL/badge.svg" /></a>
Expand Down

0 comments on commit 9ceb821

Please sign in to comment.