Skip to content

Commit

Permalink
Create test.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
hiddify-com authored Jan 21, 2024
1 parent c669aba commit aae3143
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Go Test

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

jobs:
test:
runs-on: ubuntu-latest

steps:
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: 1.21
id: go

- name: Check out code
uses: actions/checkout@v3

- name: Get dependencies
run: go mod download

- name: Run tests
run: go test ./...

0 comments on commit aae3143

Please sign in to comment.