Skip to content

Commit

Permalink
Update test package name and don't version action
Browse files Browse the repository at this point in the history
  • Loading branch information
bytemare committed Apr 28, 2024
1 parent 775643c commit 51107c1
Show file tree
Hide file tree
Showing 15 changed files with 26 additions and 26 deletions.
14 changes: 7 additions & 7 deletions .clusterfuzzlite/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@

set -ex

compile_go_fuzzer github.com/bytemare/opaque/tests FuzzConfiguration Fuzz_Configuration fuzz
compile_go_fuzzer github.com/bytemare/opaque/tests FuzzDeserializeRegistrationRequest Fuzz_DeserializeRegistrationRequest fuzz
compile_go_fuzzer github.com/bytemare/opaque/tests FuzzDeserializeRegistrationResponse Fuzz_DeserializeRegistrationResponse fuzz
compile_go_fuzzer github.com/bytemare/opaque/tests FuzzDeserializeRegistrationRecord Fuzz_DeserializeRegistrationRecord fuzz
compile_go_fuzzer github.com/bytemare/opaque/tests FuzzDeserializeKE1 Fuzz_DeserializeKE1 fuzz
compile_go_fuzzer github.com/bytemare/opaque/tests FuzzDeserializeKE2 Fuzz_DeserializeKE2 fuzz
compile_go_fuzzer github.com/bytemare/opaque/tests FuzzDeserializeKE3 Fuzz_DeserializeKE3 fuzz
compile_go_fuzzer github.com/bytemare/opaque/opaque_test FuzzConfiguration Fuzz_Configuration fuzz
compile_go_fuzzer github.com/bytemare/opaque/opaque_test FuzzDeserializeRegistrationRequest Fuzz_DeserializeRegistrationRequest fuzz
compile_go_fuzzer github.com/bytemare/opaque/opaque_test FuzzDeserializeRegistrationResponse Fuzz_DeserializeRegistrationResponse fuzz
compile_go_fuzzer github.com/bytemare/opaque/opaque_test FuzzDeserializeRegistrationRecord Fuzz_DeserializeRegistrationRecord fuzz
compile_go_fuzzer github.com/bytemare/opaque/opaque_test FuzzDeserializeKE1 Fuzz_DeserializeKE1 fuzz
compile_go_fuzzer github.com/bytemare/opaque/opaque_test FuzzDeserializeKE2 Fuzz_DeserializeKE2 fuzz
compile_go_fuzzer github.com/bytemare/opaque/opaque_test FuzzDeserializeKE3 Fuzz_DeserializeKE3 fuzz
4 changes: 2 additions & 2 deletions .github/workflows/cflite_batch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@ jobs:
steps:
- name: Build Fuzzers (${{ matrix.sanitizer }})
id: build
uses: google/clusterfuzzlite/actions/build_fuzzers@v1
uses: google/clusterfuzzlite/actions/build_fuzzers
with:
language: go # Change this to the language you are fuzzing.
sanitizer: ${{ matrix.sanitizer }}
- name: Run Fuzzers (${{ matrix.sanitizer }})
id: run
uses: google/clusterfuzzlite/actions/run_fuzzers@v1
uses: google/clusterfuzzlite/actions/run_fuzzers
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
fuzz-seconds: 3600
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/cflite_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
steps:
- name: Build Fuzzers (${{ matrix.sanitizer }})
id: build
uses: google/clusterfuzzlite/actions/build_fuzzers@v1
uses: google/clusterfuzzlite/actions/build_fuzzers
with:
language: go # Change this to the language you are fuzzing.
sanitizer: ${{ matrix.sanitizer }}
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/cflite_cron.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@ jobs:
steps:
- name: Build Fuzzers
id: build
uses: google/clusterfuzzlite/actions/build_fuzzers@v1
uses: google/clusterfuzzlite/actions/build_fuzzers
with:
language: go # Change this to the language you are fuzzing
- name: Run Fuzzers
id: run
uses: google/clusterfuzzlite/actions/run_fuzzers@v1
uses: google/clusterfuzzlite/actions/run_fuzzers
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
fuzz-seconds: 600
Expand All @@ -30,13 +30,13 @@ jobs:
steps:
- name: Build Fuzzers
id: build
uses: google/clusterfuzzlite/actions/build_fuzzers@v1
uses: google/clusterfuzzlite/actions/build_fuzzers
with:
language: go # Change this to the language you are fuzzing.
sanitizer: coverage
- name: Run Fuzzers
id: run
uses: google/clusterfuzzlite/actions/run_fuzzers@v1
uses: google/clusterfuzzlite/actions/run_fuzzers
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
fuzz-seconds: 600
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/cflite_pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
steps:
- name: Build Fuzzers (${{ matrix.sanitizer }})
id: build
uses: google/clusterfuzzlite/actions/build_fuzzers@v1
uses: google/clusterfuzzlite/actions/build_fuzzers
with:
language: go # Change this to the language you are fuzzing.
github-token: ${{ secrets.GITHUB_TOKEN }}
Expand All @@ -30,7 +30,7 @@ jobs:
# storage-repo-branch-coverage: gh-pages # Optional. Defaults to "gh-pages".
- name: Run Fuzzers (${{ matrix.sanitizer }})
id: run
uses: google/clusterfuzzlite/actions/run_fuzzers@v1
uses: google/clusterfuzzlite/actions/run_fuzzers
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
fuzz-seconds: 600
Expand Down
2 changes: 1 addition & 1 deletion tests/client_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
// LICENSE file in the root directory of this source tree or at
// https://spdx.org/licenses/MIT.html

package tests
package opaque_test

import (
"log"
Expand Down
2 changes: 1 addition & 1 deletion tests/deserializer_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
// LICENSE file in the root directory of this source tree or at
// https://spdx.org/licenses/MIT.html

package tests
package opaque_test

import (
"encoding/hex"
Expand Down
2 changes: 1 addition & 1 deletion tests/doc.go
Original file line number Diff line number Diff line change
@@ -1 +1 @@
package tests
package opaque_test

Check failure on line 1 in tests/doc.go

View workflow job for this annotation

GitHub Actions / Lint

: found packages opaque (client_test.go) and opaque_test (doc.go) in tests (typecheck)
2 changes: 1 addition & 1 deletion tests/encoding_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
// LICENSE file in the root directory of this source tree or at
// https://spdx.org/licenses/MIT.html

package tests
package opaque_test

import (
"bytes"
Expand Down
2 changes: 1 addition & 1 deletion tests/fuzz_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
// LICENSE file in the root directory of this source tree or at
// https://spdx.org/licenses/MIT.html

package tests
package opaque_test

import (
"crypto"
Expand Down
2 changes: 1 addition & 1 deletion tests/helper_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
// LICENSE file in the root directory of this source tree or at
// https://spdx.org/licenses/MIT.html

package tests
package opaque_test

import (
"crypto"
Expand Down
2 changes: 1 addition & 1 deletion tests/opaque_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
// LICENSE file in the root directory of this source tree or at
// https://spdx.org/licenses/MIT.html

package tests
package opaque_test

import (
"bytes"
Expand Down
2 changes: 1 addition & 1 deletion tests/oprf_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
// LICENSE file in the root directory of this source tree or at
// https://spdx.org/licenses/MIT.html

package tests
package opaque_test

import (
"bytes"
Expand Down
2 changes: 1 addition & 1 deletion tests/server_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
// LICENSE file in the root directory of this source tree or at
// https://spdx.org/licenses/MIT.html

package tests
package opaque_test

import (
"errors"
Expand Down
2 changes: 1 addition & 1 deletion tests/vectors_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
// LICENSE file in the root directory of this source tree or at
// https://spdx.org/licenses/MIT.html

package tests
package opaque_test

import (
"bytes"
Expand Down

0 comments on commit 51107c1

Please sign in to comment.