Skip to content

Commit

Permalink
ci: adds GitHub Actions action.
Browse files Browse the repository at this point in the history
  • Loading branch information
atombender committed Mar 14, 2022
1 parent cfce916 commit c028d3c
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 1 deletion.
20 changes: 20 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Test

on:
push:

jobs:
scheduled:
runs-on: ubuntu-latest
steps:
- name: Check out this repo
uses: actions/checkout@v2
- name: Set up Go
uses: actions/setup-go@v2
with: {go-version: '^1.16'}
- name: Download dependencies
run: go mod download
- name: Build
run: go build ./...
- name: Test
run: go test ./...
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/sanity-io/litter

go 1.14
go 1.16

require (
github.com/davecgh/go-spew v0.0.0-20161028175848-04cdfd42973b // indirect
Expand Down

0 comments on commit c028d3c

Please sign in to comment.