Skip to content

Commit

Permalink
introduce github workflow for lint and test
Browse files Browse the repository at this point in the history
  • Loading branch information
aramprice committed Oct 15, 2024
1 parent d26e9aa commit 5af779c
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "daily"
25 changes: 25 additions & 0 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: go
on:
push:
paths:
- 'src/bosh-warden-cpi/**'
pull_request:
paths:
- 'src/bosh-warden-cpi/**'
jobs:
lint_and_test:
strategy:
matrix:
os: [macos-latest, ubuntu-latest]
name: lint and test
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version-file: src/bosh-warden-cpi/go.mod
- uses: golangci/golangci-lint-action@v6
with:
working-directory: src/bosh-warden-cpi/
- run: bin/test
working-directory: src/bosh-warden-cpi/

0 comments on commit 5af779c

Please sign in to comment.