-
Notifications
You must be signed in to change notification settings - Fork 51
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(pkg/gobash/version.go): validate zip files content (#1521)
See https://github.com/ooni/probe-cli/security/code-scanning/12 While there, make sure we run tests using go1.22, which has been released in February while I was on leave.
- Loading branch information
1 parent
1b7c204
commit 9860b44
Showing
3 changed files
with
37 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# Runs the whole test suite using go1.22 | ||
name: alltests-go1.22 | ||
on: | ||
pull_request: | ||
push: | ||
branches: | ||
- "release/**" | ||
- "fullbuild" | ||
- "alltestsbuild" | ||
|
||
jobs: | ||
test: | ||
runs-on: ubuntu-22.04 | ||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- uses: magnetikonline/action-golang-cache@v4 | ||
with: | ||
go-version: ~1.22 | ||
cache-key-suffix: "-alltests-go1.22" | ||
|
||
# We cannot run buildtool tests using an unexpected version of Go because the | ||
# tests check whether we're using the expected version of Go ππππ. | ||
- run: go test -race -tags shaping $(go list ./...|grep -v 'internal/cmd/buildtool') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters