Skip to content

Commit

Permalink
ci: switch from circleci to github actions (#44)
Browse files Browse the repository at this point in the history
  • Loading branch information
joshdk authored Oct 31, 2022
1 parent 6145f50 commit c4e3326
Show file tree
Hide file tree
Showing 3 changed files with 41 additions and 30 deletions.
30 changes: 0 additions & 30 deletions .circleci/config.yml

This file was deleted.

16 changes: 16 additions & 0 deletions .github/workflows/commitlint.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: Commitlint
on: pull_request

jobs:
lint:
name: Commitlint
runs-on: ubuntu-22.04

steps:
- name: Checkout code
uses: actions/checkout@v2
with:
fetch-depth: 0

- name: Run commitlint
uses: wagoid/commitlint-github-action@v5
25 changes: 25 additions & 0 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Test
on:
pull_request:
branches:
- '*'
push:
branches:
- "master"

jobs:
build:
name: Test
runs-on: ubuntu-22.04

steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Setup go
uses: actions/setup-go@v2
with:
go-version: 1.12

- name: Run tests
run: go test -v ./...

0 comments on commit c4e3326

Please sign in to comment.