Skip to content

Commit

Permalink
use actions
Browse files Browse the repository at this point in the history
  • Loading branch information
SKairinos committed Dec 15, 2023
1 parent 5784e76 commit ee749ba
Showing 1 changed file with 15 additions and 16 deletions.
31 changes: 15 additions & 16 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,22 +14,24 @@ env:
PYTHON_VERSION: 3.8

jobs:
# test:
# runs-on: ubuntu-latest
# strategy:
# fail-fast: false
# matrix:
# python-version: [3.8]
# steps:
# - uses: ocadotechnology/codeforlife-workspace/.github/actions/python/test@actions # TODO: use @main
# with:
# python-version: ${{ matrix.python-version }}
test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: [3.8]
steps:
- uses: ocadotechnology/codeforlife-workspace/.github/actions/python/test@main
with:
python-version: ${{ matrix.python-version }}

docs:
runs-on: ubuntu-latest
# needs: [test] TODO
needs: [test]
steps:
- uses: ocadotechnology/codeforlife-workspace/.github/actions/python/docs@actions # TODO: use @main
- uses: ocadotechnology/codeforlife-workspace/.github/actions/python/docs@main
with:
python-version: ${{ env.PYTHON_VERSION }}

release:
concurrency: release
Expand All @@ -53,10 +55,7 @@ jobs:
python -m pip install --upgrade pip
python -m pip install python-semantic-release~=7.33
- name: ⚙️ Configure Git
run: |
git config --local user.name cfl-bot
git config --local user.email [email protected]
- uses: ocadotechnology/codeforlife-workspace/.github/actions/git/setup-bot@main

- name: 🚀 Publish Semantic Release
env:
Expand Down

0 comments on commit ee749ba

Please sign in to comment.