feat: Automated regeneration of Content client #4554
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Presubmit | |
on: | |
pull_request: | |
branches: | |
- main | |
jobs: | |
tests: | |
strategy: | |
matrix: | |
include: | |
- elixir: "1.7.4-otp-22" | |
otp: "22.3.4.26" | |
- elixir: "1.12.3-otp-23" | |
otp: "23.3.4.19" | |
- elixir: "1.13.4-otp-24" | |
otp: "24.1.7" | |
fail-fast: false | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: Checkout repo | |
uses: actions/checkout@v4 | |
- name: Install Elixir ${{ matrix.elixir }} on OTP ${{ matrix.otp }} | |
uses: erlef/setup-beam@v1 | |
with: | |
otp-version: "${{ matrix.otp }}" | |
elixir-version: "${{ matrix.elixir }}" | |
version-type: strict | |
- name: Run presubmits | |
run: mix do deps.get, presubmit --pr ${{ github.event.pull_request.number }} | |
required-checks: | |
needs: tests | |
if: ${{ always() }} | |
runs-on: ubuntu-latest | |
steps: | |
- name: Required checks collector | |
run: 'test "${{ needs.tests.result }}" = "success"' |