Skip to content

Commit

Permalink
Add dependabot and a simple pipeline (#52)
Browse files Browse the repository at this point in the history
  • Loading branch information
garethjevans authored Jan 4, 2022
1 parent 005adbc commit bb72a93
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/dependabot.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
version: 2
updates:

# Maintain dependencies for GitHub Actions
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"

# Gomod updates
- package-ecosystem: "gomod"
directory: "/"
schedule:
interval: "weekly"
24 changes: 24 additions & 0 deletions .github/workflows/go.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Build and test Go
on: [push, pull_request]
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Check out source code
uses: actions/checkout@v2

- name: Setup Go
uses: actions/setup-go@v1
with:
go-version: 1.16

- name: Build
run: |
source .envrc
go build ./...
- name: Test
run: |
source .envrc
go test -v ./...

0 comments on commit bb72a93

Please sign in to comment.