Skip to content

ci: Push on main branch only #6

ci: Push on main branch only

ci: Push on main branch only #6

Workflow file for this run

name: AoC CI (Lint & Test)
on:
push:
branches:
- main
jobs:
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: 1.21.1
- name: Lint
uses: golangci/golangci-lint-action@v3
with:
version: latest
- name: Build
run: go build -v ./...
- name: Test
run: go test -v ./...