Migrate to gitea-actions #8
1 changed files with 19 additions and 0 deletions
19
.gitea/workflows/lint.yaml
Normal file
19
.gitea/workflows/lint.yaml
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
name: Linting
|
||||||
|
|
||||||
|
on:
|
||||||
|
pull_request:
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
lint:
|
||||||
|
runs-on: cth-ubuntu-latest
|
||||||
|
container:
|
||||||
|
image: docker.atomaka.com/mdformat
|
||||||
|
steps:
|
||||||
|
- run: mdformat --check _posts/
|
||||||
|
build:
|
||||||
|
runs-on: cth-ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- run: |
|
||||||
|
gem install bundler
|
||||||
|
bundle install
|
||||||
|
bundle exec jekyll build
|
Loading…
Reference in a new issue