Update protobuf definitions #56
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
on: | |
push: | |
branches: | |
- '**' | |
- '!main' | |
name: CI | |
jobs: | |
quality: | |
name: Quality | |
runs-on: ubuntu-latest | |
container: | |
image: earthly/earthly:latest | |
timeout-minutes: 10 | |
strategy: | |
matrix: | |
target: | |
[ | |
go-build, | |
go-linter, | |
go-mod-linter, | |
compile-proto, | |
go-test | |
] | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Exec ${{ matrix.target }} | |
env: | |
FORCE_COLOR: 1 | |
run: earthly +${{ matrix.target }} | |
- name: Ensure 'earthly +compile-proto' changes are committed | |
if: matrix.target == 'compile-proto' | |
run: | | |
git config --global --add safe.directory /__w/ctrader/ctrader | |
git add . | |
git diff --cached --exit-code | |
result: | |
name: Result | |
runs-on: ubuntu-latest | |
needs: [quality] | |
steps: | |
- name: Success | |
run: 'true' |