atomaka.com/.gitea/workflows/lint.yaml
Andrew Tomaka c30252267f
All checks were successful
Linting / build (pull_request) Successful in 17s
Linting / lint (pull_request) Successful in 19s
Specify action location
2024-11-06 23:14:35 -05:00

28 lines
664 B
YAML

name: Linting
on:
pull_request:
jobs:
lint:
runs-on: cth-ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: https://github.com/addnab/docker-run-action@v3
with:
image: docker.atomaka.com/mdformat:latest
options: --volumes-from=${{ env.JOB_CONTAINER_NAME }}
run: |
cd ${{ github.workspace }}
mdformat --check _posts/
build:
runs-on: cth-ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: https://github.com/ruby/setup-ruby@v1
with:
ruby-version: 3.3.5
- run: |
gem install bundler
bundle install
bundle exec jekyll build