Skip to content

Merge pull request #123 from autotag-dev/joem/split-gha-workflows #153

Merge pull request #123 from autotag-dev/joem/split-gha-workflows

Merge pull request #123 from autotag-dev/joem/split-gha-workflows #153

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
types:
- opened
- reopened
- synchronize
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Run golangci-lint
uses: golangci/golangci-lint-action@v6
test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
- name: Git Config for Unit Tests
run: |
git config --global user.email ci
git config --global user.name ci
git config --global init.defaultBranch main
- name: Run Unit Tests
run: |
make test
goreleaser-check:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Check goreleaser's Configuration
uses: goreleaser/goreleaser-action@v6
with:
version: latest
args: check