Bump golang.org/x/sync from 0.0.0-20200930132711-30421366ff76 to 0.6.0 #251
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test | |
on: | |
push: | |
branches: [master] | |
paths: | |
- "**/*.go" | |
- "go.mod" | |
- "go.sum" | |
pull_request: | |
branches: [master] | |
types: [opened, synchronize, reopened] | |
paths: | |
- "**/*.go" | |
- "go.mod" | |
- "go.sum" | |
jobs: | |
test: | |
if: github.repository != 'v2ray/v2ray-core' | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [windows-latest, ubuntu-latest, macos-latest] | |
steps: | |
- name: Set up Go 1.x | |
uses: actions/setup-go@v2 | |
with: | |
go-version: ^1.15 | |
- name: Checkout codebase | |
uses: actions/checkout@v2 | |
- name: Cache go module | |
uses: actions/cache@v2 | |
with: | |
path: ~/go/pkg/mod | |
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }} | |
restore-keys: ${{ runner.os }}-go- | |
- name: Test | |
run: go test -timeout 1h -v ./... |