From 4c148a4dd599345997dfdcfb859fb87b75bb08e8 Mon Sep 17 00:00:00 2001 From: Alex Matsuev Date: Mon, 24 Nov 2025 01:32:17 +0300 Subject: [PATCH] Update action --- .gitea/workflows/test-action.yaml | 2 +- main.go | 9 +++++++-- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/.gitea/workflows/test-action.yaml b/.gitea/workflows/test-action.yaml index 56e9447..7170ce1 100644 --- a/.gitea/workflows/test-action.yaml +++ b/.gitea/workflows/test-action.yaml @@ -5,4 +5,4 @@ jobs: runs-on: golang steps: - name: Use Go Action - uses: https://sirius.klsh.ru/sirius/go-action@v1 + uses: https://sirius.klsh.ru/sirius/go-action@v0.0.1 diff --git a/main.go b/main.go index d2c4e91..61451e4 100644 --- a/main.go +++ b/main.go @@ -1,7 +1,12 @@ package main -import "fmt" +import ( + "fmt" + "os" +) func main() { - fmt.Println("Hello world") + for _, v := range os.Environ() { + fmt.Println(v) + } }