This commit is contained in:
parent
39aa192e89
commit
7a01292d1c
3 changed files with 24 additions and 1 deletions
|
@ -1,6 +1,17 @@
|
||||||
on: [push]
|
on:
|
||||||
|
push:
|
||||||
|
pull_request:
|
||||||
|
types: [opened, synchronize, reopened]
|
||||||
jobs:
|
jobs:
|
||||||
test:
|
test:
|
||||||
runs-on: docker
|
runs-on: docker
|
||||||
steps:
|
steps:
|
||||||
|
- uses: https://code.forgejo.org/actions/checkout@v4
|
||||||
|
- uses: https://github.com/actions/setup-go@v5
|
||||||
|
with:
|
||||||
|
go-version: '1.22.4'
|
||||||
- run: echo All Good
|
- run: echo All Good
|
||||||
|
- uses: https://github.com/ko-build/setup-ko@v0.7
|
||||||
|
- run: ko build
|
||||||
|
env:
|
||||||
|
KO_DOCKER_REPO: ko.local
|
||||||
|
|
3
go.mod
Normal file
3
go.mod
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
module testgo
|
||||||
|
|
||||||
|
go 1.22.4
|
9
main.go
Normal file
9
main.go
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
package main
|
||||||
|
|
||||||
|
import (
|
||||||
|
"fmt"
|
||||||
|
)
|
||||||
|
|
||||||
|
func main() {
|
||||||
|
fmt.Println("hello")
|
||||||
|
}
|
Loading…
Add table
Reference in a new issue