Skip to content

Commit

Permalink
Change support promise to two releases to match Go's (#970)
Browse files Browse the repository at this point in the history
As reasoned in
#968 (comment)
This allows ygot to accept more security patches, and encourages
users to keep their own code up-to-date with the most secure Go
releases.

Co-authored-by: Rob Shakir <[email protected]>
  • Loading branch information
wenovus and robshakir committed Jul 10, 2024
1 parent c52408e commit cea0223
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
strategy:
fail-fast: false
matrix:
go: ['1.19', '1.20', '1.21', '1.22', '1.x']
go: ['stable', 'oldstable']

steps:
- name: Install protobuf
Expand Down
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
![Go](https://github.com/openconfig/ygot/workflows/Go/badge.svg?branch=master)
[![Coverage Status](https://coveralls.io/repos/github/openconfig/ygot/badge.svg?branch=master)](https://coveralls.io/github/openconfig/ygot?branch=master)
[![Go releases supported](https://img.shields.io/badge/Go-1.18%2B-blue)](https://golang.org/project/#release)
[![Go Reference](https://pkg.go.dev/badge/github.com/openconfig/ygot.svg)](https://pkg.go.dev/github.com/openconfig/ygot)

![#ygot](docs/img/ygot.png)
Expand All @@ -17,7 +16,7 @@ Whilst ygot is designed to work with any YANG module, for OpenConfig modules, it
**Note**: This is not an official Google product.

## Getting Started with ygot
Current support for `ygot` is for the [latest 3 Go releases](https://golang.org/project/#release).
Current support for `ygot` matches that of Go, which is the [latest 2 Go releases](https://go.dev/doc/devel/release).

`ygot` consists of a number of parts, `generator` which is a binary using the `ygen` library to generate Go code from a set of YANG modules. `ygot` which provides helper methods for the `ygen`-produced structs - for example, rendering to JSON, or gNMI notifications - and `ytypes` which provides validation of the contents of `ygen` structs against the YANG schema.

Expand Down

0 comments on commit cea0223

Please sign in to comment.