镜像自地址
https://github.com/tuna/tunasync.git
已同步 2025-12-06 14:36:47 +00:00
ci: use stable go version, enable test on pr and dispatch
Signed-off-by: Shengqi Chen <harry-chen@outlook.com>
这个提交包含在:
10
.github/workflows/tunasync.yml
vendored
10
.github/workflows/tunasync.yml
vendored
@@ -1,6 +1,6 @@
|
||||
name: tunasync
|
||||
|
||||
on: [push]
|
||||
on: [push, pull_request, workflow_dispatch]
|
||||
|
||||
jobs:
|
||||
|
||||
@@ -12,10 +12,10 @@ jobs:
|
||||
- name: Check out code into the Go module directory
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Set up Go 1.18
|
||||
- name: Set up Go
|
||||
uses: actions/setup-go@v5
|
||||
with:
|
||||
go-version: 1.18
|
||||
go-version: 'stable'
|
||||
id: go
|
||||
|
||||
- name: Get dependencies
|
||||
@@ -53,10 +53,10 @@ jobs:
|
||||
- name: Check out code into the Go module directory
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Set up Go 1.18
|
||||
- name: Set up Go
|
||||
uses: actions/setup-go@v5
|
||||
with:
|
||||
go-version: 1.18
|
||||
go-version: 'stable'
|
||||
id: go
|
||||
|
||||
- name: Run Unit tests.
|
||||
|
||||
在新工单中引用
屏蔽一个用户