Skip to content

Commit d9981d2

Browse files
authored
Use GitHub Actions for CI (palantir#87)
1 parent ac1c04a commit d9981d2

File tree

2 files changed

+41
-32
lines changed

2 files changed

+41
-32
lines changed

.circleci/config.yml

Lines changed: 0 additions & 32 deletions
This file was deleted.

.github/workflows/build.yml

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
name: Build
2+
3+
on:
4+
push:
5+
branches: [develop]
6+
tags-ignore:
7+
- '**'
8+
9+
pull_request:
10+
branches: [develop]
11+
12+
jobs:
13+
Verify:
14+
runs-on: ubuntu-latest
15+
16+
env:
17+
GOPATH: /home/runner/go
18+
19+
steps:
20+
- uses: actions/checkout@v2
21+
with:
22+
fetch-depth: 0
23+
24+
- name: Set up Go
25+
uses: actions/setup-go@v2
26+
with:
27+
go-version: 1.16
28+
29+
- name: Cache Godel assets
30+
uses: actions/cache@v2
31+
with:
32+
path: ~/.godel
33+
key: ${{ runner.os }}-godel-${{ hashFiles('godelw', 'godel/config/godel.yml') }}
34+
restore-keys: |
35+
${{ runner.os }}-godel-
36+
37+
- name: Verify
38+
run: ./godelw verify --apply=false --skip-test
39+
40+
- name: Test
41+
run: ./godelw test

0 commit comments

Comments
 (0)