Skip to content

Commit

Permalink
feat: improve workflows config
Browse files Browse the repository at this point in the history
  • Loading branch information
houseme committed Jun 13, 2023
1 parent 92cefd2 commit 1eaab87
Showing 1 changed file with 19 additions and 11 deletions.
30 changes: 19 additions & 11 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,24 +5,32 @@ name: ImDada-CI

on:
push:
branches: [ "main" ]
branches:
- main
- develop
- feature/**
- fix/**
pull_request:
branches: [ "main" ]
branches:
- main
- develop
- feature/**
- fix/**

jobs:

build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v3

- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: 1.19
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: 1.19

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

- name: Test
run: go test -v ./...
- name: Test
run: go test -v ./...

0 comments on commit 1eaab87

Please sign in to comment.