10 Commits
v1.0.1 ... main

Author SHA1 Message Date
53caf2fb84 Update cmd/main.go
All checks were successful
Build and release project / Explore-Gitea-Actions (push) Successful in 22s
2025-11-24 08:13:19 +00:00
6ba07470c5 Update actions
All checks were successful
Build and release project / Explore-Gitea-Actions (push) Successful in 38s
2025-11-22 20:37:29 +03:00
87fc6e1eca Update actions
All checks were successful
Build and release project / Explore-Gitea-Actions (push) Successful in 2s
2025-11-22 19:40:14 +03:00
ca873908fb Update actions
All checks were successful
Build and release project / Explore-Gitea-Actions (push) Successful in 3s
2025-11-22 19:24:23 +03:00
c457be9dde Update actions
All checks were successful
Build and release project / Explore-Gitea-Actions (push) Successful in 29s
2025-11-22 19:20:29 +03:00
e754eda777 Update actions
Some checks failed
Build and release project / Explore-Gitea-Actions (push) Failing after 7s
2025-11-22 19:19:29 +03:00
d9cba7032c Update actions
Some checks failed
Build and release project / Explore-Gitea-Actions (push) Failing after 35s
2025-11-22 18:21:39 +03:00
c46f887a5a Update actions
All checks were successful
Show context properties / dump_contexts_to_log (push) Successful in 2s
2025-11-22 16:25:30 +03:00
7f3e9809ef Update actions
Some checks failed
Build and release project / Explore-Gitea-Actions (push) Failing after 3s
2025-11-22 16:12:21 +03:00
9eec5d87a9 Update action
Some checks failed
Build and release project / Explore-Gitea-Actions (push) Failing after 2s
2025-11-22 16:05:34 +03:00
4 changed files with 18 additions and 10 deletions

View File

@@ -1,8 +1,8 @@
name: Show context properties
on:
push:
tags:
- context
branches:
- dev
jobs:
dump_contexts_to_log:

View File

@@ -7,23 +7,30 @@ on:
jobs:
Explore-Gitea-Actions:
runs-on: ubuntu-latest
runs-on: golang
steps:
- name: Job start
run: echo "The job was automatically triggered by a ${{ gitea.event_name }} event."
- name: Install GoLang v1.25.4
uses: actions/setup-go@v6
with:
go-version: "1.25.4"
# - name: Install GoLang v1.25.4
# uses: actions/setup-go@v6
# with:
# go-version: "1.25.4"
- name: Check out repository code
uses: actions/checkout@v6
# - name: Golang linter
# uses: actions/golangci-lint-action@v9
- name: Build and test application
env:
GOOS: linux
GOARCH: amd64
CGO_ENABLED: 0
run: |
mkdir bin
GOOS=linux GOARCH=amd64 CGO_ENABLED=0 go build -o ./bin/metrics ./cmd
go build -o ./bin/metrics ./cmd
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3

1
.gitignore vendored
View File

@@ -1,2 +1,3 @@
bin
.env
runner.Dockerfile

View File

@@ -65,7 +65,7 @@ func metricsHandler(w http.ResponseWriter, req *http.Request) {
// helloHandler ...
func helloHandler(w http.ResponseWriter, req *http.Request) {
w.Write([]byte("Test /hello location"))
w.Write([]byte("Test /hello location."))
}
// Metrics ...