feat: add GetEquatorialCoordinate(datetime time.Time) to coordinates module in @observerly/sidera. #30
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |