This commit is contained in:
@@ -15,10 +15,12 @@ jobs:
|
||||
GOFLAGS: -mod=readonly
|
||||
GITHUB_TOKEN: ${{ secrets.REGISTRY_PAT }}
|
||||
steps:
|
||||
- name: install node (required by JS-based actions)
|
||||
run: apk add --no-cache nodejs git
|
||||
|
||||
- uses: actions/checkout@v4
|
||||
- name: Checkout code
|
||||
run: |
|
||||
git init
|
||||
git remote add origin https://forgejo.riotpiao.com/rock/poimen-workflows.git
|
||||
git fetch origin ${{ github.ref_name }} --depth=1
|
||||
git checkout FETCH_HEAD
|
||||
|
||||
- name: Download dependencies
|
||||
run: go mod download
|
||||
|
||||
Reference in New Issue
Block a user