24 lines
467 B
YAML
24 lines
467 B
YAML
name: Linting
|
|
|
|
on:
|
|
pull_request:
|
|
|
|
jobs:
|
|
lint:
|
|
runs-on: cth-ubuntu-latest
|
|
container:
|
|
image: docker.atomaka.com/mdformat
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- run: mdformat --check _posts/
|
|
build:
|
|
runs-on: cth-ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- uses: ruby/setup-ruby@v1
|
|
with:
|
|
ruby-version: 3.1.2
|
|
- run: |
|
|
gem install bundler
|
|
bundle install
|
|
bundle exec jekyll build
|