Skip to content

feat: add Degrees common utility to @observerly/sidera. #25

feat: add Degrees common utility to @observerly/sidera.

feat: add Degrees common utility to @observerly/sidera. #25

Workflow file for this run

name: sidera/lint
on:
pull_request:
branches:
- main
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
lint:
strategy:
matrix:
go: [ '1.21.x' ]
os: [ ubuntu-latest ]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout 🛎
uses: actions/checkout@main
# Setup our base Go environment 🧬
- name: Setup Go Environment
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go }}
# Install Go Staticcheck
- name: Install Go Staticcheck
run: go install honnef.co/go/tools/cmd/staticcheck@latest
# Install Go Critic
- name: Install Go Critic
run: go install -v github.com/go-critic/go-critic/cmd/gocritic@latest
# Run Go Test
- name: Go Format
run: make format
# Run Go Vet
- name: Go Vet
run: make vet
# Run Go Lint
- name: Go Lint
run: make lint
# Run Go Critic
- name: Go Critic
run: make critic