Compare commits
12 commits
39aa192e89
...
afffca09ad
Author | SHA1 | Date | |
---|---|---|---|
afffca09ad | |||
c1f03a8ef0 | |||
51ef79eb4b | |||
b4c596fc1f | |||
03e0cd6f33 | |||
7515865cc4 | |||
28a8f6b6ad | |||
e1ec765975 | |||
5d94746501 | |||
c22163fdef | |||
34f378dafd | |||
7a01292d1c |
3 changed files with 29 additions and 3 deletions
|
@ -1,6 +1,20 @@
|
||||||
on: [push]
|
on:
|
||||||
|
push:
|
||||||
|
pull_request:
|
||||||
|
types: [opened, synchronize, reopened]
|
||||||
jobs:
|
jobs:
|
||||||
test:
|
test:
|
||||||
runs-on: docker
|
runs-on: ubuntu-22.04
|
||||||
steps:
|
steps:
|
||||||
- run: echo All Good
|
- uses: https://code.forgejo.org/actions/checkout@v4
|
||||||
|
- uses: https://github.com/actions/setup-go@v5
|
||||||
|
with:
|
||||||
|
go-version: '1.22.4'
|
||||||
|
- uses: https://github.com/ko-build/setup-ko@v0.7
|
||||||
|
with:
|
||||||
|
version: v0.15.4
|
||||||
|
- run: ko login https://platform.sunet.se --username ci-sunet-cdn --password ${{ secrets.CI_SUNET_CDN }}
|
||||||
|
- run: ko build
|
||||||
|
env:
|
||||||
|
KO_DOCKER_REPO: platform.sunet.se/sunet-cdn
|
||||||
|
|
||||||
|
|
3
go.mod
Normal file
3
go.mod
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
module action-runner-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