-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: replace CircleCI with Github Actions
- Loading branch information
1 parent
12774d2
commit ca1153c
Showing
2 changed files
with
27 additions
and
18 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
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 |