Skip to content

Commit

Permalink
dev workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
star-gazer111 committed Aug 24, 2024
1 parent 0a6564a commit 04b8ab4
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: ci

on:
push:
branches: ["main","dev"]

pull_request:
branches: ["main","dev"]


issues:
types:
- opened
- labeled

jobs:

build:
runs-on: ubuntu-latest
strategy:
matrix:
go-version: ['1.22.3']

steps:
- uses: actions/checkout@v4
- name: Setup Go ${{ matrix.go-version }}
uses: actions/setup-go@v4
with:
go-version: ${{ matrix.go-version }}
cache: false

- name: Build
run: go build -v ./...

- name: Test
run: go test -v ./...
env:
GOOS: linux

0 comments on commit 04b8ab4

Please sign in to comment.