Skip to content

Commit

Permalink
GitHub Actions: enable reusable workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
leee committed Dec 8, 2023
1 parent 0f87fdf commit 8ee953a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
---
name: CI

on: [push, pull_request]
on: [push, pull_request, workflow_call]

jobs:
lint:
runs-on: ubuntu-latest
# We use a standard Debian image to mirror a typical developer environment.
# This should be updated whenever a new Debian stable version is available.
container: debian:bullseye
steps:
- uses: actions/checkout@v3
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/linkcheck.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,13 @@ name: Link check
on:
schedule:
- cron: '0 3 * * *'
workflow_call:

jobs:
linkcheck:
runs-on: ubuntu-latest
# We use a standard Debian image to mirror a typical developer environment.
# This should be updated whenever a new Debian stable version is available.
container: debian:bullseye
steps:
- uses: actions/checkout@v3
Expand Down

0 comments on commit 8ee953a

Please sign in to comment.