mirror of
https://github.com/stashapp/stash.git
synced 2025-12-17 04:14:39 +03:00
GitHub actions (#1146)
This commit is contained in:
@@ -28,8 +28,8 @@
|
||||
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
gofiles=$(git diff --name-only --diff-filter=ACM develop -- '*.go' ':!vendor')
|
||||
[ -z "$gofiles" ] && exit 0
|
||||
gofiles=./pkg/
|
||||
[ "$OS" = "Windows_NT" ] && gofiles=.\\pkg\\
|
||||
|
||||
unformatted=$(gofmt -l $gofiles)
|
||||
[ -z "$unformatted" ] && exit 0
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#!/bin/sh
|
||||
#!/bin/bash
|
||||
|
||||
# "stashapp/compiler:develop" "stashapp/compiler:4"
|
||||
COMPILER_CONTAINER="stashapp/compiler:4"
|
||||
|
||||
Reference in New Issue
Block a user