Skip to content

Commit

Permalink
Merge pull request #11 from Daaaai0809/env/#10-impl-github-actions
Browse files Browse the repository at this point in the history
[env]: implement github actions
  • Loading branch information
Daaaai0809 authored Jun 30, 2024
2 parents c340d95 + 63a3d37 commit 34a8f69
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 1 deletion.
22 changes: 22 additions & 0 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: go-test
on:
push:
branches:
# All branches except main
- '*'
pull_request:
branches:
- main
- develop
jobs:
code-check:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Setup Go
uses: actions/setup-go@v2
with:
go-version: 1.21
- name: Run go test
run: go test ./...
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module github.com/Daaaai0809/go-swg-gen
module github.com/Daaaai0809/swagen

go 1.21.7

Expand Down

0 comments on commit 34a8f69

Please sign in to comment.