Skip to content

Commit 2cff0c9

Browse files
committed
Switch from Circle to GHA.
1 parent fb1dd01 commit 2cff0c9

File tree

2 files changed

+27
-37
lines changed

2 files changed

+27
-37
lines changed

Diff for: .circleci/config.yml

-37
This file was deleted.

Diff for: .github/workflows/ci.yml

+27
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
on:
2+
push:
3+
branches:
4+
- master
5+
pull_request:
6+
name: CI
7+
jobs:
8+
test:
9+
name: Test
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: Checkout code
13+
uses: actions/checkout@v2
14+
- name: Init Hermit
15+
run: ./bin/hermit env -r >> $GITHUB_ENV
16+
- name: Test
17+
run: go test ./...
18+
lint:
19+
name: Lint
20+
runs-on: ubuntu-latest
21+
steps:
22+
- name: Checkout code
23+
uses: actions/checkout@v2
24+
- name: Init Hermit
25+
run: ./bin/hermit env -r >> $GITHUB_ENV
26+
- name: golangci-lint
27+
run: golangci-lint run

0 commit comments

Comments
 (0)