Skip to content

Update package

Update package #32

Workflow file for this run

name: CI
on: push
permissions:
contents: read
jobs:
lint:
runs-on: ubuntu-latest
name: Protobuf lint
container:
image: bufbuild/buf:1.23.1
steps:
- name: Checkout the code
uses: actions/checkout@v3
- name: lint
run: buf lint
- name: format
run: buf format --exit-code
fishjam_protos_lint:
runs-on: ubuntu-latest
name: CI elixir lint
strategy:
matrix:
otp: ['27']
elixir: ['1.17']
steps:
- name: Set up Elixir
uses: erlef/setup-beam@v1
with:
otp-version: ${{matrix.otp}}
elixir-version: ${{matrix.elixir}}
- name: Checkout the code
uses: actions/checkout@v3
- name: Install dependencies
working-directory: fishjam_protos
run: mix deps.get
- name: Compile without warnings
working-directory: fishjam_protos
id: compile
run: mix compile --warnings-as-errors
- name: Check formatting
working-directory: fishjam_protos
if: ${{ !cancelled() && steps.compile.outcome == 'success' }}
run: mix format --check-formatted