gocheckout/.gitea/workflows/workflow.yaml
wispem-wantex 5b4a7e70ca
All checks were successful
Self Test / test (push) Successful in 16s
Run test properly
2025-06-07 06:45:33 -04:00

28 lines
555 B
YAML

name: Self Test
on: [push]
jobs:
test:
container: offline-twitter/go
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