Migrate to gitea-actions (#8)

Reviewed-on: #8
This commit is contained in:
Andrew Tomaka 2024-07-13 20:27:24 -04:00
parent 864374959e
commit 638ea4a9d6
4 changed files with 69 additions and 54 deletions

View file

@ -0,0 +1,28 @@
name: Linting
on:
pull_request:
jobs:
lint:
runs-on: cth-ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: 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: ruby/setup-ruby@v1
with:
ruby-version: 3.1.2
- run: |
gem install bundler
bundle install
bundle exec jekyll build