Skip to content

Upgrade maragu.dev/gai@21f642fac70d (#38) #66

Upgrade maragu.dev/gai@21f642fac70d (#38)

Upgrade maragu.dev/gai@21f642fac70d (#38) #66

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
branches:
- main
concurrency:
group: ${{ github.workflow }}-${{ github.ref_name }}
cancel-in-progress: ${{ github.ref_name != 'main' }}
jobs:
test:
name: Test
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v5
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version-file: go.mod
check-latest: true
- name: Build
run: go build ./...
- name: Test
run: go test -shuffle on ./...
env:
OPENAI_KEY: ${{ secrets.OPENAI_KEY }}
lint:
name: Lint
runs-on: ubuntu-latest
if: ${{ github.triggering_actor != 'dependabot[bot]' }}
steps:
- name: Checkout
uses: actions/checkout@v5
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version-file: go.mod
check-latest: true
- name: Lint
uses: golangci/golangci-lint-action@v8
with:
version: latest