mirror of
https://github.com/opentofu/opentofu.git
synced 2024-12-25 08:21:07 -06:00
9210ce6cdd
This is intended to eventually replace the CircleCI-based checks we use as part of the PR process in this repository. We're already using GitHub Actions for various other processes in this repository, so this change is motivated by consistency of having all of our automation running in the same system and written in the same language. This is not a complete replacement for our CircleCI workflow yet, and probably won't ever be because the CircleCI workflow contains some steps that are arguably redundant with other processes we follow elsewhere. However, the CircleCI workflow remains for now and won't be removed until we're satisfied that enough of it is replicated by this GitHub Actions workflow.
8 lines
275 B
Bash
Executable File
8 lines
275 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
echo "==> Checking for switch statement exhaustiveness..."
|
|
|
|
# For now we're only checking a handful of packages, rather than defaulting to
|
|
# everything with a skip list.
|
|
go run github.com/nishanths/exhaustive/cmd/exhaustive ./internal/command/views/json
|