move untested/import_alias -> tests #453
Workflow file for this run
This file contains hidden or 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: CI | |
| on: | |
| push: | |
| branches: [master] | |
| pull_request: | |
| branches: [master] | |
| jobs: | |
| build: | |
| strategy: | |
| matrix: | |
| os: | |
| - name: macos-latest | |
| - name: ubuntu-latest | |
| # - name: windows-latest | |
| runs-on: ${{ matrix.os.name }} | |
| steps: | |
| - name: Install Go | |
| uses: actions/setup-go@v5 | |
| with: | |
| go-version: '^1.20' | |
| - name: Install V | |
| uses: vlang/[email protected] | |
| - name: Get go2v | |
| uses: actions/checkout@v4 | |
| - name: Check GO env variables | |
| run: go env && v -e 'import os; os.getenv("PATH").split(os.path_delimiter).map(dump(it))' | |
| - name: Check code formatting | |
| run: | | |
| v fmt -diff . | |
| v fmt -verify . | |
| - name: Build go2v | |
| run: v . | |
| # will run all tests, including complex | |
| - name: Run tests | |
| run: v -g test . |