GitHub Action
EK Aligo
v2
Latest version
Action for checking scripts with aligo.
Create file .github/workflows/aligo.yml
.
Add next code to it or add job Aligo
to your workflow:
name: CI
on:
push:
branches: [master, develop]
pull_request:
branches: [master]
jobs:
Aligo:
name: Aligo
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: '1.21.x'
- name: Check Golang sources with Aligo
uses: essentialkaos/aligo-action@v2
with:
files: ./...
tags: unit,e2e
Option | Description | Value |
---|---|---|
files |
Files or directories to check | List |
path |
Path to directory with sources | Path |
tags |
Build tags | Tags |