atomaka.com/.gitea/workflows/lint.yaml

27 lines
546 B
YAML
Raw Normal View History

name: Linting
on:
pull_request:
jobs:
lint:
runs-on: cth-ubuntu-latest
steps:
2024-07-12 21:10:22 -04:00
- uses: actions/checkout@v4
2024-07-12 21:37:08 -04:00
- run: |
docker run \
2024-07-12 22:01:06 -04:00
--volume /workspace/atomaka/atomaka.com:/src \
2024-07-12 21:37:08 -04:00
docker.atomaka.com/mdformat \
2024-07-12 22:01:06 -04:00
mdformat --check /src/_posts/
build:
runs-on: cth-ubuntu-latest
steps:
2024-07-12 21:10:22 -04:00
- uses: actions/checkout@v4
2024-07-12 21:12:15 -04:00
- uses: ruby/setup-ruby@v1
with:
ruby-version: 3.1.2
2024-07-12 21:10:22 -04:00
- run: |
gem install bundler
bundle install
bundle exec jekyll build