diff --git a/.github/workflows/basic.yml b/.github/workflows/basic.yml index b4c5c646..4a9992d4 100644 --- a/.github/workflows/basic.yml +++ b/.github/workflows/basic.yml @@ -4,10 +4,15 @@ on: push: jobs: - basic: + pre-commit: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - uses: pre-commit/action@v3.0.0 - - uses: cvxgrp/.github/actions/test@main + + test: + runs-on: ubuntu-latest + + steps: + - uses: cvxgrp/.github/actions/test@main diff --git a/.github/workflows/book.yml b/.github/workflows/book.yml index 57d2c468..db63eaae 100644 --- a/.github/workflows/book.yml +++ b/.github/workflows/book.yml @@ -10,19 +10,16 @@ jobs: sphinx: runs-on: "ubuntu-latest" steps: - - uses: actions/checkout@v3 - uses: cvxgrp/.github/actions/sphinx@main test: runs-on: "ubuntu-latest" steps: - - uses: actions/checkout@v3 - uses: cvxgrp/.github/actions/test@main jupyter: runs-on: "ubuntu-latest" steps: - - uses: actions/checkout@v3 - uses: cvxgrp/.github/actions/jupyter@main book: @@ -33,17 +30,4 @@ jobs: contents: write steps: - - - name: Check out repository - uses: actions/checkout@v3 - - - name: Download all artifacts - uses: actions/download-artifact@v3 - with: - path: .book - - - name: GitHub Pages action - uses: JamesIves/github-pages-deploy-action@v4.4.3 - with: - branch: gh-pages # The branch the action should deploy to. - folder: .book # The folder the action should deploy. + - uses: cvxgrp/.github/actions/book@main diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b33bd690..612d5f28 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -15,9 +15,6 @@ jobs: # Steps represent a sequence of tasks that will be executed as part of the job steps: - # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it - - uses: actions/checkout@v3 - - uses: cvxgrp/.github/actions/test@main with: os: ${{ matrix.os }} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index bd0dc9f6..25b2f947 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -8,7 +8,6 @@ jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - uses: cvxgrp/.github/actions/build@main deploy: