12 Commits
Author SHA1 Message Date
Rodolfo Carvalho ddc2ac84aa Optimize update workflow steps and execution order
Run tests before updating metadata, and combine Git configuration, commit, and push into a single step.

Validating the downloaded dictionary file immediately after change detection ensures tests fail-fast before metadata is modified or staged. Combining Git setup, commit, and push reduces workflow step clutter and avoids unnecessary Git configuration on runs with no changes.
2026-08-01 13:46:36 +02:00
Rodolfo Carvalho d352136e3d Replace deprecated set-output with GITHUB_OUTPUT
Replace the deprecated `::set-output` workflow command with appending output
key-value pairs to $GITHUB_OUTPUT.

Reference:
https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
2026-08-01 13:46:36 +02:00
Rodolfo Carvalho bb82ba47c7 Remove Go Modules ecosystem from Dependabot config
We intentionally never had any external dependencies in this repository,
so all Dependabot jobs for gomod are a waste of resources.
2026-08-01 11:26:28 +02:00
Rodolfo Carvalho 6f27882907 Bump Go version and drop action/setup-go (#9)
Modern Go toolchains (available at the base image) can automatically
install the required version of Go based on the `go.mod` file, so we can
remove the `actions/setup-go` step from the workflow.

We keep the minimum required Go version in the `go.mod` file for broad
compatibility (1.19), but we use a more recent version when interacting
with the code (e.g. `go test` in the existing update.yml workflow).

    go get toolchain@latest

https://go.dev/blog/toolchain#:~:text=Or%20if%20you%20want%20to%20start%20using,toolchain%20version%20using%20the%20GOTOOLCHAIN%20environment%20variable.
2026-08-01 11:15:17 +02:00
Rodolfo Carvalho ddf4d683b3 Add badges 2022-09-09 10:37:37 +02:00
Rodolfo Carvalho 5473e86d23 Create dependabot.yml 2022-09-09 10:32:26 +02:00
Rodolfo Carvalho 4fc8c29ea8 Use GitHub Actions to update repo on schedule 2022-09-09 10:16:14 +02:00
Rodolfo Carvalho cbaaf08592 CC-CEDICT 2022-09-01T08:05:44Z 2022-09-09 03:38:18 +02:00
Rodolfo Carvalho f7d959e0ab Expose CC-CEDICT bytes as a Go module 2022-09-09 03:36:53 +02:00
Rodolfo Carvalho dd13cd3b86 CC-CEDICT 2013-03-19T13:58:14Z 2022-09-09 03:36:04 +02:00
Rodolfo Carvalho c8d5255365 Update README.md 2022-09-02 11:59:39 +02:00
Rodolfo Carvalho b29bcd744d Initial commit 2022-09-02 11:34:55 +02:00