Skip to content

Setup CI workflows for both pull requests and main branch (switch to environment for publishing) #4

Setup CI workflows for both pull requests and main branch (switch to environment for publishing)

Setup CI workflows for both pull requests and main branch (switch to environment for publishing) #4

Workflow file for this run

name: PR workflow
on:
pull_request:
jobs:
common:
uses: ./.github/workflows/common.yml
test:
needs: common
strategy: ${{ fromJson(needs.common.outputs.strategy) }}
name: ${{ matrix.name }}
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- name: Prepare Environment
run: ${{ matrix.runs.prepare }}
- name: Pull Dependencies
run: ${{ matrix.runs.pull }}
- name: Build ${{ matrix.name }}
run: ${{ matrix.runs.build }}
- name: History ${{ matrix.name }}
run: ${{ matrix.runs.history }}
- name: Test ${{ matrix.name }}
run: ${{ matrix.runs.test }}
- name: '"docker images"'
run: ${{ matrix.runs.images }}