mirror of
https://github.com/oneclickvirt/ecs.git
synced 2025-11-03 01:53:21 +08:00
update
This commit is contained in:
32
.github/workflows/ci.yaml
vendored
32
.github/workflows/ci.yaml
vendored
@@ -47,22 +47,22 @@ jobs:
|
||||
GOPRIVATE: github.com/oneclickvirt/security
|
||||
GITHUB_TOKEN: ${{ secrets.GHT }}
|
||||
|
||||
test:
|
||||
needs: setup
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- name: Configure Git for Private Modules
|
||||
run: |
|
||||
git config --global url."https://${{ secrets.GHT }}@github.com/".insteadOf "https://github.com/"
|
||||
git config --global url."git@github.com:".insteadOf "https://github.com/"
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GHT }}
|
||||
- name: test
|
||||
run: go test -v ./...
|
||||
env:
|
||||
GOPRIVATE: github.com/oneclickvirt/security
|
||||
GITHUB_TOKEN: ${{ secrets.GHT }}
|
||||
# test:
|
||||
# needs: setup
|
||||
# runs-on: ubuntu-latest
|
||||
# steps:
|
||||
# - uses: actions/checkout@v3
|
||||
# - name: Configure Git for Private Modules
|
||||
# run: |
|
||||
# git config --global url."https://${{ secrets.GHT }}@github.com/".insteadOf "https://github.com/"
|
||||
# git config --global url."git@github.com:".insteadOf "https://github.com/"
|
||||
# env:
|
||||
# GITHUB_TOKEN: ${{ secrets.GHT }}
|
||||
# - name: test
|
||||
# run: go test -v ./...
|
||||
# env:
|
||||
# GOPRIVATE: github.com/oneclickvirt/security
|
||||
# GITHUB_TOKEN: ${{ secrets.GHT }}
|
||||
|
||||
detect-modules:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
Reference in New Issue
Block a user