Skip to content

Commit

Permalink
chrore: build upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
fenix2222 authored Feb 2, 2024
1 parent 9ecd8c4 commit ceca7e5
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
name: Build

on:
workflow_dispatch:
push:
branches: [main]
pull_request:
branches: [main]

jobs:
build:
runs-on: ubuntu-latest
runs-on: windows-latest
steps:
- name: Checkout
uses: actions/checkout@v2
Expand All @@ -27,13 +28,10 @@ jobs:
run: go generate -x

- name: Build
run: go build -v

- name: Test
run: go test -v ./...
run: go build -v -o build/strax_faucet.exe

golangci:
runs-on: ubuntu-latest
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-go@v2
Expand All @@ -46,7 +44,7 @@ jobs:
version: latest

prettier:
runs-on: ubuntu-latest
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
Expand Down

0 comments on commit ceca7e5

Please sign in to comment.