Skip to content

chore: add release-please and Github Actions for CI [v2] #1

chore: add release-please and Github Actions for CI [v2]

chore: add release-please and Github Actions for CI [v2] #1

Workflow file for this run

name: Run CI
on:
push:
branches: [ 'v2' ]
paths-ignore:
- '**.md' # Do not need to run CI for markdown changes.
pull_request:
branches: [ 'v2', 'feat/**' ]
paths-ignore:
- '**.md'
env:
GOPRIVATE: github.com/launchdarkly/*-private
jobs:
build-and-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Go ${{ inputs.go-version }}
uses: actions/setup-go@v4
with:
go-version: 1.18
- name: Run tests
run: make test
- name: Run linter
run: make lint