Skip to content

Commit 2de1ac4

Browse files
pionbotSean-Der
authored andcommitted
Update CI configs to v0.11.19
TestBadCertificate is no longer needed for 1.24+ ``` CreateCertificate will now generate a serial number using a RFC 5280 compliant method when passed a template with a nil Certificate.SerialNumber field, instead of failing. ```
1 parent 16d809c commit 2de1ac4

File tree

6 files changed

+8
-26
lines changed

6 files changed

+8
-26
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,4 @@ jobs:
2121
release:
2222
uses: pion/.goassets/.github/workflows/release.reusable.yml@master
2323
with:
24-
go-version: "1.22" # auto-update/latest-go-version
24+
go-version: "1.24" # auto-update/latest-go-version

.github/workflows/test.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
uses: pion/.goassets/.github/workflows/test.reusable.yml@master
2424
strategy:
2525
matrix:
26-
go: ["1.23", "1.22"] # auto-update/supported-go-version-list
26+
go: ["1.24", "1.23"] # auto-update/supported-go-version-list
2727
fail-fast: false
2828
with:
2929
go-version: ${{ matrix.go }}
@@ -33,13 +33,13 @@ jobs:
3333
uses: pion/.goassets/.github/workflows/test-i386.reusable.yml@master
3434
strategy:
3535
matrix:
36-
go: ["1.23", "1.22"] # auto-update/supported-go-version-list
36+
go: ["1.24", "1.23"] # auto-update/supported-go-version-list
3737
fail-fast: false
3838
with:
3939
go-version: ${{ matrix.go }}
4040

4141
test-wasm:
4242
uses: pion/.goassets/.github/workflows/test-wasm.reusable.yml@master
4343
with:
44-
go-version: "1.23" # auto-update/latest-go-version
44+
go-version: "1.24" # auto-update/latest-go-version
4545
secrets: inherit

.github/workflows/tidy-check.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,4 @@ jobs:
2222
tidy:
2323
uses: pion/.goassets/.github/workflows/tidy-check.reusable.yml@master
2424
with:
25-
go-version: "1.22" # auto-update/latest-go-version
25+
go-version: "1.24" # auto-update/latest-go-version

.reuse/dep5

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@ Files: README.md DESIGN.md **/README.md AUTHORS.txt renovate.json go.mod go.sum
66
Copyright: 2023 The Pion community <https://pion.ly>
77
License: MIT
88

9-
Files: testdata/fuzz/* **/testdata/fuzz/* api/*.txt
9+
Files: testdata/seed/* testdata/fuzz/* **/testdata/fuzz/* api/*.txt
1010
Copyright: 2023 The Pion community <https://pion.ly>
1111
License: CC0-1.0

certificate_test.go

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -104,24 +104,6 @@ func TestGenerateCertificateExpires(t *testing.T) {
104104
assert.Contains(t, x509Cert.statsID, "certificate")
105105
}
106106

107-
func TestBadCertificate(t *testing.T) {
108-
var nokey interface{}
109-
badcert, err := NewCertificate(nokey, x509.Certificate{})
110-
assert.Nil(t, badcert)
111-
assert.Error(t, err)
112-
113-
sk, err := ecdsa.GenerateKey(elliptic.P256(), rand.Reader)
114-
assert.Nil(t, err)
115-
116-
badcert, err = NewCertificate(sk, x509.Certificate{})
117-
assert.Nil(t, badcert)
118-
assert.Error(t, err)
119-
120-
c0 := Certificate{}
121-
c1 := Certificate{}
122-
assert.False(t, c0.Equals(c1))
123-
}
124-
125107
func TestPEM(t *testing.T) {
126108
sk, err := ecdsa.GenerateKey(elliptic.P256(), rand.Reader)
127109
assert.Nil(t, err)

test-wasm/go_js_wasm_exec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ while [ -h "$SOURCE" ]; do
1818
done
1919
DIR="$( cd -P "$( dirname "$SOURCE" )" && pwd )"
2020

21-
NODE_WASM_EXEC="$(go env GOROOT)/misc/wasm/wasm_exec_node.js"
22-
WASM_EXEC="$(go env GOROOT)/misc/wasm/wasm_exec.js"
21+
NODE_WASM_EXEC="$(go env GOROOT)/lib/wasm/wasm_exec_node.js"
22+
WASM_EXEC="$(go env GOROOT)/lib/wasm/wasm_exec.js"
2323

2424
if test -f "$NODE_WASM_EXEC"; then
2525
exec node --require="${DIR}/node_shim.js" "$NODE_WASM_EXEC" "$@"

0 commit comments

Comments
 (0)