1
0
Fork 0
mirror of https://github.com/gocsaf/csaf.git synced 2025-12-22 05:40:11 +01:00
gocsaf/docs/Development.md
Bernhard E. Reiter 46118544be
upgrade dependencies, including go (#695)
* change go.mod as first step towards go 1.25

  raise minium version of go compatiblity to 1.24.9
  and toolchain to be used to 1.25.3

* upgrade .github/workflows and documentation

  * update all .github/workflows/ to use the latest version of
    actions and the go versions accordingly.
    (Only some github actions use a floating tag for the major version.)
  * reduce places where the go versions are hardcoded:
      * refEr to docs/Development.md from README.md
      * use `go.mod` from itest.yml.

* fix itest.yml: checkout before refer to go.mod

* improve code cleanness: use format string w error

  and thus makes newer go test versions happy

* update go dependencies

* cleanup some dependencies with go mod tidy

* fix .github/workflows action versions

* fix go action versions
2025-10-27 10:35:38 +01:00

23 lines
728 B
Markdown

# Development
## Supported Go versions
We support the latest version and the one before
the latest version of Go (currently 1.24 and 1.25).
## Generated files
Some source code files are machine generated. At the moment these are only
[cvss20enums.go](../csaf/cvss20enums.go) and [cvss3enums.go](../csaf/cvss3enums.go) on the
basis of the [Advisory JSON schema](../csaf/schema/csaf_json_schema.json).
If you change the source files please regenerate the generated files
with `go generate ./...` in the root folder and add the updated files
to the version control.
If you plan to add further machine generated files ensure that they
are marked with comments like
```
// THIS FILE IS MACHINE GENERATED. EDIT WITH CARE!
```
.