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") +}