Skip to content

Commit

Permalink
[Workflow] Added workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
hyunsooda committed Nov 1, 2023
1 parent 221b918 commit f43305f
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Run CI
run-name: ${{ github.actor }} is running module tests triggered by ${{github.event_name }} event.
on:
push:
branches:
- main
pull_request:
branches:
- main
types:
- opened
- reopened
- synchronize
jobs:
LEC-CI:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Package cache
id: cache
uses: actions/cache@v3
with:
path: |
~/.stack
.stack-work
key: ${{ runner.os }}-stack-${{ hashFiles('stack.yaml.lock', 'package.yaml') }}
restore-keys: |
${{ runner.os }}-stack
- name: Build Test
run: stack build
- name: Unit Test
run: stack test

0 comments on commit f43305f

Please sign in to comment.