Skip to content

Commit

Permalink
Add Basic CI (#6)
Browse files Browse the repository at this point in the history
* Test basic CI
  • Loading branch information
kkoutsilis authored Dec 27, 2023
1 parent 91c7744 commit 17f5a26
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 1 deletion.
36 changes: 36 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: CI

on:
pull_request:
push:
branches: [main]


jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Go 1.21.x
uses: actions/setup-go@v4
with:
go-version: '1.21.x'
- name: Install Dependencies
run: |
go get .
- name: Build
run: go build -v ./...
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Go 1.21.x
uses: actions/setup-go@v4
with:
go-version: '1.21.x'
- name: Install Dependencies
run: |
go get .
- name: Test
run: go test -v ./...

4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@

# SSMG
# SSMG

![CI](https://github.com/kkoutsilis/SSMG/actions/workflows/ci.yml/badge.svg)

SSMG (Secret Santa Match Generator) is a simple CLI tool written in Go. It reads a JSON file containing Secret Santa participants, generates the matches, and sends an email to each participant with their assigned match.

Expand Down

0 comments on commit 17f5a26

Please sign in to comment.