Skip to content

Commit

Permalink
ci: updates to work better with windows
Browse files Browse the repository at this point in the history
  • Loading branch information
MattCMcCoy committed Jan 13, 2024
1 parent 757435d commit 26becc0
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 4 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,11 @@ jobs:
with:
go-version: ${{ matrix.go-version }}

- name: Build Go app
- name: Set up Node
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}

- name: Build app
run: |
cd backend
go build -v
task build
14 changes: 13 additions & 1 deletion Taskfile.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,20 @@ version: '3'
tasks:
build:
- |
npm install --prefix client
cd client
npm install
cd ../backend
go mod tidy
go install .
format:
- |
cd client
npm run format
cd ../backend
go fmt
go vet
golangci-lint run ./...
start-backend:
- |
Expand Down

0 comments on commit 26becc0

Please sign in to comment.