Skip to content

feat: initial library, cli, and tests #5

feat: initial library, cli, and tests

feat: initial library, cli, and tests #5

Workflow file for this run

name: Build, Test and Lint Armaria
on:
pull_request:
types: [opened, synchronize]
permissions:
contents: read
pull-requests: read
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: amannn/action-semantic-pull-request@v5
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Go
uses: actions/setup-go@v4
with:
go-version: '1.20'
- name: Setup Task
uses: arduino/setup-task@v1
with:
version: 3.x
- name: Setup golangci-lint
run: curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.55.1
- name: Build
run: task build
- name: Test
run: task test
- name: Lint
run: task lint