This commit is contained in:
25
.gitea/workflows/workflow.yaml
Normal file
25
.gitea/workflows/workflow.yaml
Normal file
@@ -0,0 +1,25 @@
|
||||
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: wc -l checkout.go
|
||||
Reference in New Issue
Block a user