gocheckout/.gitea/workflows/workflow.yaml
wispem-wantex 6f86145b92
All checks were successful
Self Test / test (push) Successful in 55s
Add debug step
2025-06-07 07:01:27 -04:00

40 lines
815 B
YAML

name: Self Test
on: [push]
jobs:
test:
container:
image: offline-twitter/go
volumes:
- woodpecker-gocache:/go-cache-volume
env:
GOPATH: /go-cache-volume
GOCACHE: /go-cache-volume/build-cache
steps:
- name: checkout
uses: https://${{ secrets.GITHUB_TOKEN }}:@git.offline-twitter.com/offline-labs/shellcheckout@${{ github.ref }}
- name: wc -l
run: wc -l checkout.go
- name: Go build
run: go build -o checkout ./checkout.go
- name: Run checkout
run: |
mkdir -p testdir
cd testdir
../checkout
- name: wc -l 2
run: |
cd testdir
wc -l checkout.go
- name: debug
run: |
env
ls -l /go*
ls -l /var/run