Skip to content

Commit

Permalink
Merge pull request #11 from cerberauth/setup-ci
Browse files Browse the repository at this point in the history
ci: setup ci job
  • Loading branch information
emmanuelgautier authored Aug 7, 2024
2 parents 7423fce + 45619c6 commit 97dd637
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* @cerberauth @emmanuelgautier
30 changes: 30 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: CI

on:
push:
branches:
- main
pull_request:
branches:
- main

env:
GO_VERSION: "1.22"

jobs:
build:
runs-on: ubuntu-latest
env:
working-directory: ./hydra-login-consent

steps:
- uses: actions/checkout@v4

- name: Setup Go environment
uses: actions/setup-go@v5
with:
go-version: ${{ env.GO_VERSION }}

- name: Build
working-directory: ${{ env.working-directory }}
run: go build -v ./...

0 comments on commit 97dd637

Please sign in to comment.