mirror of
https://github.com/MetaCubeX/Clash.Meta.git
synced 2025-04-09 03:52:04 +00:00
Chore: ship github action
This commit is contained in:
parent
0f7f0a9b1a
commit
6f3a654d6c
1 changed files with 21 additions and 0 deletions
21
.github/workflows/go.yml
vendored
Normal file
21
.github/workflows/go.yml
vendored
Normal file
|
@ -0,0 +1,21 @@
|
|||
name: Go
|
||||
on: [push, pull_request]
|
||||
jobs:
|
||||
|
||||
build:
|
||||
name: Build
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
|
||||
- name: Set up Go 1.12
|
||||
uses: actions/setup-go@v1
|
||||
with:
|
||||
go-version: 1.12
|
||||
id: go
|
||||
|
||||
- name: Check out code into the Go module directory
|
||||
uses: actions/checkout@v1
|
||||
|
||||
- name: Get dependencies
|
||||
run: |
|
||||
go test ./...
|
Loading…
Add table
Reference in a new issue