Skip to content

Commit

Permalink
Merge pull request #31 from zztkm/feature/update-ci-workflow
Browse files Browse the repository at this point in the history
ci: add fmt & lint step
  • Loading branch information
zztkm authored Jul 4, 2024
2 parents 7dd1059 + b88aed4 commit 1dffde6
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
# The type of runner that the job will run on
strategy:
matrix:
os: ["ubuntu-latest", "macos-latest", "windows-latest"]
os: ["ubuntu-latest", "macos-latest"]
runs-on: ${{ matrix.os }}

# Steps represent a sequence of tasks that will be executed as part of the job
Expand All @@ -27,5 +27,14 @@ jobs:

- uses: actions/checkout@v4

- name: Run tests
run: make test
- name: Tests
run: |
cp testdata/.env testdata/.env.parse .
v test vdotenv_test.v
- name: Format
run: v fmt -verify .

- name: Lint
run: v vet -W .

0 comments on commit 1dffde6

Please sign in to comment.