action-runner-demo/.forgejo/workflows/demo.yaml

18 lines
426 B
YAML
Raw Normal View History

2024-06-25 13:12:02 +00:00
on:
push:
pull_request:
types: [opened, synchronize, reopened]
2024-06-25 07:27:52 +00:00
jobs:
test:
runs-on: docker
steps:
2024-06-25 13:12:02 +00:00
- uses: https://code.forgejo.org/actions/checkout@v4
- uses: https://github.com/actions/setup-go@v5
with:
go-version: '1.22.4'
2024-06-25 07:27:52 +00:00
- run: echo All Good
2024-06-25 13:12:02 +00:00
- uses: https://github.com/ko-build/setup-ko@v0.7
- run: ko build
env:
KO_DOCKER_REPO: ko.local