fix CI new username #85
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: brasilapi-v quality code CI | |
concurrency: | |
group: ci-${{ github.event.number }} | |
cancel-in-progress: true | |
on: | |
# Allows you to run this workflow manually from the Actions tab | |
workflow_dispatch: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
jobs: | |
fmt-check: | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Setup V | |
uses: vlang/[email protected] | |
with: | |
check-latest: true | |
- name: V doctor | |
run: v doctor | |
- name: Install brasilapi | |
run: | | |
v install Ddiidev.brasilapi | |
- name: Move brasilapi source code to path start | |
run: mv ~/.vmodules/ddiidev/brasilapi ~/brasilapi | |
- name: Verify Fmt | |
run: v fmt -verify ~/brasilapi | |
run-tests: | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Setup V | |
uses: vlang/[email protected] | |
with: | |
check-latest: true | |
- name: V doctor | |
run: v doctor | |
- name: Install brasilapi | |
run: | | |
v install Ddiidev.brasilapi | |
- name: Move brasilapi source code to path start | |
run: mv ~/.vmodules/ddiidev/brasilapi ~/brasilapi | |
- name: Execute Tests using Pure V Backend | |
run: v -cc tcc -stats test ~/brasilapi |