Skip to content

Commit

Permalink
Add CI builds (#2)
Browse files Browse the repository at this point in the history
* Add CI build

* Add dependabot configuration
  • Loading branch information
kfcampbell authored Nov 15, 2023
1 parent 9806542 commit cf92781
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# Please see the documentation for all configuration options:
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates

version: 2
updates:
- package-ecosystem: "gomod"
directory: "/"
schedule:
interval: "weekly"
25 changes: 25 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: "Build and validate Go generated SDK"

on:
pull_request:
workflow_dispatch:
push:
branches:
- "main"

jobs:
build:
strategy:
fail-fast: false
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v3

- uses: actions/setup-go@v3.5.0
with:
go-version: '1.21.4'

- name: Build the SDK
run: go build ./...

0 comments on commit cf92781

Please sign in to comment.