Skip to content

essentialkaos/aligo-action

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation


Action for checking scripts with aligo.

Usage

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

Options

Option Description Value
files Files or directories to check List
path Path to directory with sources Path
tags Build tags Tags

License

Apache License, Version 2.0