Skip to content

Commit cea0223

Browse files
wenovusrobshakir
andauthored
Change support promise to two releases to match Go's (#970)
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]>
1 parent c52408e commit cea0223

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

.github/workflows/go.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
strategy:
1515
fail-fast: false
1616
matrix:
17-
go: ['1.19', '1.20', '1.21', '1.22', '1.x']
17+
go: ['stable', 'oldstable']
1818

1919
steps:
2020
- name: Install protobuf

README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
![Go](https://github.com/openconfig/ygot/workflows/Go/badge.svg?branch=master)
22
[![Coverage Status](https://coveralls.io/repos/github/openconfig/ygot/badge.svg?branch=master)](https://coveralls.io/github/openconfig/ygot?branch=master)
3-
[![Go releases supported](https://img.shields.io/badge/Go-1.18%2B-blue)](https://golang.org/project/#release)
43
[![Go Reference](https://pkg.go.dev/badge/github.com/openconfig/ygot.svg)](https://pkg.go.dev/github.com/openconfig/ygot)
54

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

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

2221
`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.
2322

0 commit comments

Comments
 (0)