Browse Source

bootstrap go

migrate-to-golang
Dennis Jekubczyk 3 years ago
parent
commit
b8f9647df5
4 changed files with 24 additions and 0 deletions
  1. +15
    -0
      .github/workflows/test.yml
  2. +1
    -0
      .tool-versions
  3. +3
    -0
      go.mod
  4. +5
    -0
      main.go

+ 15
- 0
.github/workflows/test.yml

@ -0,0 +1,15 @@
on:
push:
pull_request:
name: test branches or pull requests
jobs:
test:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- uses: actions/setup-go@v2
with:
go-version: "1.16"
- run: echo 'TODO'

+ 1
- 0
.tool-versions

@ -0,0 +1 @@
golang 1.16

+ 3
- 0
go.mod

@ -0,0 +1,3 @@
module github.com/jaedle/mirror-to-gitea
go 1.16

+ 5
- 0
main.go

@ -0,0 +1,5 @@
package main
func main() {
println("Hello World")
}

Loading…
Cancel
Save