Skip to content

Commit d39d420

Browse files
committed
Add Aligo workflow step
1 parent def8d8e commit d39d420

File tree

1 file changed

+23
-2
lines changed

1 file changed

+23
-2
lines changed

.github/workflows/ci.yml

Lines changed: 23 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ on:
99
- cron: '0 13 */15 * *'
1010

1111
jobs:
12-
Ubuntu:
13-
name: Linux
12+
Go:
13+
name: Go
1414
runs-on: ubuntu-latest
1515

1616
env:
@@ -45,3 +45,24 @@ jobs:
4545
- name: Run tests
4646
working-directory: ${{env.SRC_DIR}}
4747
run: make test
48+
49+
Aligo:
50+
name: Aligo
51+
runs-on: ubuntu-latest
52+
53+
needs: Go
54+
55+
steps:
56+
- name: Checkout
57+
uses: actions/checkout@v2
58+
59+
- name: Install Aligo
60+
run: |
61+
wget https://apps.kaos.st/aligo/latest/linux/x86_64/aligo
62+
chmod +x aligo
63+
64+
- name: Print Aligo version info
65+
run: ./aligo --version
66+
67+
- name: Check Go structs alignment info
68+
run: ./aligo check ./...

0 commit comments

Comments
 (0)