Skip to content

Commit

Permalink
[non-prod] Migrate CI builds to Github Actions (#98)
Browse files Browse the repository at this point in the history
[CONFIG-7]
- Migrate from circleCI to github actions for the CI on branch pushes. 
- No longer need the snyk step in the CI job as the webhooks provide coverage for that requirement.
- The build runs on a github-runner instead of within a docker container.
  • Loading branch information
wavetylor committed Oct 6, 2022
1 parent b7234d9 commit f0224ae
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 45 deletions.
45 changes: 0 additions & 45 deletions .circleci/config.yml

This file was deleted.

38 changes: 38 additions & 0 deletions .github/workflows/build-ctlstore.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: build
on:
- push
jobs:
build:
name: Executes a full build
runs-on: ubuntu-latest
services:
mysql:
image: mysql:5.6
env:
MYSQL_ROOT_PASSWORD: ctldbpw
MYSQL_DATABASE: ctldb
MYSQL_USER: ctldb
MYSQL_PASSWORD: ctldbpw
ports:
- 3306:3306

steps:
- name: checkout
uses: actions/checkout@v3

- name: setup go 1.13
uses: actions/setup-go@v3
with:
go-version: 1.13

- name: Deps
run: |
make deps
- name: Test
run: |
make test
- name: build
run: |
make build

0 comments on commit f0224ae

Please sign in to comment.