mirror of
https://github.com/RGBCube/ManageTTD
synced 2025-07-29 09:57:47 +00:00
Feat: Basic V project
This commit is contained in:
parent
478ab7eb52
commit
25e1a4fedb
7 changed files with 77 additions and 0 deletions
20
.github/workflows/test.yml
vendored
Normal file
20
.github/workflows/test.yml
vendored
Normal file
|
@ -0,0 +1,20 @@
|
|||
name: Test
|
||||
|
||||
on:
|
||||
- pull_request
|
||||
- push
|
||||
|
||||
jobs:
|
||||
test:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Set Up V
|
||||
uses: vlang/setup-v@v1.1
|
||||
with:
|
||||
check-latest: true
|
||||
|
||||
- name: Checkout Repository
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Test
|
||||
run: v test ./
|
20
.github/workflows/verify-formatting.yml
vendored
Normal file
20
.github/workflows/verify-formatting.yml
vendored
Normal file
|
@ -0,0 +1,20 @@
|
|||
name: Verify Formatting
|
||||
|
||||
on:
|
||||
- pull_request
|
||||
- push
|
||||
|
||||
jobs:
|
||||
verify-formatting:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Set Up V
|
||||
uses: vlang/setup-v@v1.1
|
||||
with:
|
||||
check-latest: true
|
||||
|
||||
- name: Checkout Repository
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Verify That The Code Is Formatted
|
||||
run: v fmt -verify ./
|
Loading…
Add table
Add a link
Reference in a new issue