fix username #18
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: windows-registry 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/setup-v@v1.3 | |
with: | |
check-latest: true | |
- name: V doctor | |
run: v doctor | |
- name: Install winreg | |
run: | | |
v install Ddiidev.winreg | |
- name: Move winreg source code to path start | |
run: mv ~/.vmodules/Ddiidev/winreg ~/winreg | |
- name: Verify Fmt | |
run: v fmt -verify ~/winreg | |
run-tests: | |
runs-on: windows-latest | |
steps: | |
- name: Setup V | |
uses: vlang/setup-v@v1.3 | |
with: | |
check-latest: true | |
- name: V doctor | |
run: v doctor | |
- name: Install winreg | |
run: | | |
v install Ddiidev.winreg | |
- name: Move winreg source code to path start | |
run: mv $env:userprofile\.vmodules\Ddiidev\winreg $env:userprofile\desktop\winreg | |
- name: Execute Tests using Pure V Backend | |
run: v -cc tcc -stats test $env:userprofile\desktop\winreg |