cbarraford is testing a code change 🚀 #806
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: Arkeo CI | |
run-name: ${{ github.actor }} is testing a code change 🚀 | |
on: [push] | |
# This allows a subsequently queued workflow run to interrupt previous runs | |
concurrency: | |
group: "${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }}" | |
cancel-in-progress: true | |
jobs: | |
lint: | |
name: Lint | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out repository code | |
uses: actions/checkout@v2 | |
with: | |
fetch-depth: 0 | |
- name: Setup Golang | |
uses: actions/setup-go@v3 | |
with: | |
go-version: 1.20.x | |
# cache: true | |
- name: Compile Protobuf | |
run: | | |
make proto-gen | |
- name: Lint code | |
run: | | |
make lint-ci | |
- name: Unit Tests | |
run: | | |
sudo rm -rf vue | |
make test | |
regression-test: | |
name: Regression Test | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out repository code | |
uses: actions/checkout@v2 | |
with: | |
fetch-depth: 0 | |
- name: Setup Golang | |
uses: actions/setup-go@v3 | |
with: | |
go-version: 1.20.x | |
# cache: true | |
- name: Compile Protobuf | |
run: | | |
make proto-gen | |
- name: Install Compose | |
uses: ndeloof/[email protected] | |
with: | |
version: v2.15.1 # defaults to 'latest' | |
legacy: true # will also install in PATH as `docker-compose` | |
- run: docker-compose --version | |
- name: Setup Docker buildx | |
uses: docker/setup-buildx-action@v2 | |
- name: Regression Tests | |
run: | | |
make test-regression-ci |