Skip to content

Merge pull request #12 from naqvis/patch-crystal-ver #109

Merge pull request #12 from naqvis/patch-crystal-ver

Merge pull request #12 from naqvis/patch-crystal-ver #109

Workflow file for this run

name: crystal-vips CI
on:
push:
pull_request:
branches: [main]
schedule:
- cron: '0 6 * * 6' # Every Saturday 6 AM
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Download source
uses: actions/checkout@v2
- name: Install Crystal
uses: crystal-lang/install-crystal@v1
- name: Install libvips
env:
DEBIAN_FRONTEND: noninteractive
run:
# we only need the library
sudo apt-get update && sudo apt-get install libvips-dev
- name: Run tests
run: crystal spec --error-trace -v spec
- name: Check formatting
run: crystal tool format --check