Skip to content

Commit

Permalink
basic ci
Browse files Browse the repository at this point in the history
  • Loading branch information
Rico040 authored Jul 22, 2024
1 parent 6f0423f commit 9c2c81c
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: CI

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4

- name: Prepare environment
uses: jiro4989/setup-nim-action@v2
with:
nim-version: '2.0.x' # default is 'stable'
repo-token: ${{ secrets.GITHUB_TOKEN }}

- name: Build package
run: nimble build -Y

- name: Test package
run: nimble test -Y

0 comments on commit 9c2c81c

Please sign in to comment.