From b8f9647df5b906dd1c22e0b398b11ec0e4f185fa Mon Sep 17 00:00:00 2001 From: Dennis Jekubczyk Date: Mon, 24 May 2021 11:01:04 +0200 Subject: [PATCH] bootstrap go --- .github/workflows/test.yml | 15 +++++++++++++++ .tool-versions | 1 + go.mod | 3 +++ main.go | 5 +++++ 4 files changed, 24 insertions(+) create mode 100644 .github/workflows/test.yml create mode 100644 .tool-versions create mode 100644 go.mod create mode 100644 main.go diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 0000000..612e05b --- /dev/null +++ b/.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' diff --git a/.tool-versions b/.tool-versions new file mode 100644 index 0000000..9f117be --- /dev/null +++ b/.tool-versions @@ -0,0 +1 @@ +golang 1.16 diff --git a/go.mod b/go.mod new file mode 100644 index 0000000..6e17068 --- /dev/null +++ b/go.mod @@ -0,0 +1,3 @@ +module github.com/jaedle/mirror-to-gitea + +go 1.16 diff --git a/main.go b/main.go new file mode 100644 index 0000000..9fb85d7 --- /dev/null +++ b/main.go @@ -0,0 +1,5 @@ +package main + +func main() { + println("Hello World") +}