atomaka.com/.gitea/workflows/lint.yaml
Andrew Tomaka fe2a7117c4
Some checks failed
Linting / build (pull_request) Successful in 17s
Linting / lint (pull_request) Failing after 15s
Mount the image
2024-07-12 21:37:08 -04:00

26 lines
544 B
YAML

name: Linting
on:
pull_request:
jobs:
lint:
runs-on: cth-ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: |
docker run \
--volume /workspace/atomaka/atomaka.com:src \
docker.atomaka.com/mdformat \
mdformat --check src/_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