chore: prepare release v1.1.1
Release / release (push) Failing after 15s
Test / vet (push) Successful in 52s
Test / test (push) Failing after 16s
Test / toml-test (push) Successful in 44s

This commit is contained in:
2026-07-26 18:37:36 +02:00
parent eac3a60e9e
commit 818d863827
7 changed files with 34 additions and 23 deletions
@@ -6,13 +6,13 @@ on:
jobs:
release:
runs-on: codeberg-small
runs-on: fedora
steps:
- uses: https://data.forgejo.org/actions/checkout@v4
- uses: actions/checkout@v4
- name: Verify tag and extract CHANGELOG section
env:
VERSION: ${{ forgejo.ref_name }}
VERSION: ${{ gitea.ref_name }}
run: |
set -euo pipefail
@@ -40,7 +40,7 @@ jobs:
- name: Create release
env:
FORGEJO_TOKEN: ${{ secrets.FORGEJO_TOKEN }}
GITEA_TOKEN: ${{ secrets.GITEA_TOKEN }}
run: |
set -euo pipefail
@@ -56,13 +56,13 @@ jobs:
BODY="\"${BODY}\""
response=$(curl -sS -w '\n%{http_code}' \
-H "Authorization: token ${FORGEJO_TOKEN}" \
-H "Authorization: token ${GITEA_TOKEN}" \
-H "Content-Type: application/json" \
-X POST \
"${FORGEJO_SERVER_URL}/api/v1/repos/${FORGEJO_REPOSITORY}/releases" \
"${GITEA_SERVER_URL}/api/v1/repos/${GITEA_REPOSITORY}/releases" \
-d "{
\"tag_name\": \"${FORGEJO_REF_NAME}\",
\"name\": \"${FORGEJO_REF_NAME}\",
\"tag_name\": \"${GITEA_REF_NAME}\",
\"name\": \"${GITEA_REF_NAME}\",
\"body\": ${BODY},
\"draft\": false,
\"prerelease\": false
@@ -78,4 +78,4 @@ jobs:
fi
RELEASE_ID=$(echo "$payload" | grep -oE '"id"[[:space:]]*:[[:space:]]*[0-9]+' | head -1 | grep -oE '[0-9]+')
echo "Release ${FORGEJO_REF_NAME} is live (ID=${RELEASE_ID})."
echo "Release ${GITEA_REF_NAME} is live (ID=${RELEASE_ID})."
@@ -8,11 +8,11 @@ on:
jobs:
vet:
runs-on: codeberg-small
runs-on: fedora
steps:
- uses: https://data.forgejo.org/actions/checkout@v4
- uses: actions/checkout@v4
- uses: https://data.forgejo.org/actions/setup-go@v5
- uses: actions/setup-go@v5
with:
go-version: "1.26"
@@ -30,12 +30,12 @@ jobs:
run: go vet ./...
test:
runs-on: codeberg-small
runs-on: fedora
needs: vet
steps:
- uses: https://data.forgejo.org/actions/checkout@v4
- uses: actions/checkout@v4
- uses: https://data.forgejo.org/actions/setup-go@v5
- uses: actions/setup-go@v5
with:
go-version: "1.26"
@@ -46,12 +46,12 @@ jobs:
run: go build ./examples/...
toml-test:
runs-on: codeberg-small
runs-on: fedora
needs: vet
steps:
- uses: https://data.forgejo.org/actions/checkout@v4
- uses: actions/checkout@v4
- uses: https://data.forgejo.org/actions/setup-go@v5
- uses: actions/setup-go@v5
with:
go-version: "1.26"
+11
View File
@@ -5,6 +5,13 @@ All notable changes to **interpres** are documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [1.1.1] — 2026-07-26
### Changed
- **Project**
- Migrate from Codeberg to sourcedock.dev (module path, imports, CI).
## [1.1.0] — 2026-06-26
Adds TOML emission to the previously read-only library, completing the
@@ -88,3 +95,7 @@ the standard library and passes the entire
JSON on stdout).
- A runnable example, a Go test suite, and a `just` task set (`install`, `run`,
`build`, `test`, `coverage`, `uninstall`).
[1.1.1]: https://sourcedock.dev/petrbalvin/interpres/releases/tag/v1.1.1
[1.1.0]: https://codeberg.org/petrbalvin/interpres/releases/tag/v1.1.0
[1.0.0]: https://codeberg.org/petrbalvin/interpres/releases/tag/v1.0.0
+2 -2
View File
@@ -12,7 +12,7 @@ Go programs that still want their configuration in TOML.
## Install
```sh
go get codeberg.org/petrbalvin/interpres
go get sourcedock.dev/petrbalvin/interpres
```
Requires Go 1.26 or newer. The module imports only the standard library.
@@ -27,7 +27,7 @@ package main
import (
"fmt"
"codeberg.org/petrbalvin/interpres"
"sourcedock.dev/petrbalvin/interpres"
)
type Config struct {
+1 -1
View File
@@ -16,7 +16,7 @@ import (
"strconv"
"time"
"codeberg.org/petrbalvin/interpres"
"sourcedock.dev/petrbalvin/interpres"
)
func main() {
+1 -1
View File
@@ -6,7 +6,7 @@ import (
"fmt"
"log"
"codeberg.org/petrbalvin/interpres"
"sourcedock.dev/petrbalvin/interpres"
)
const document = `
+1 -1
View File
@@ -1,3 +1,3 @@
module codeberg.org/petrbalvin/interpres
module sourcedock.dev/petrbalvin/interpres
go 1.26