From 13458b764477fe5dd1edb929eeb082ae8800232a Mon Sep 17 00:00:00 2001 From: David Beck Date: Sun, 7 Jul 2024 17:58:54 -0700 Subject: [PATCH] Fix format CI step (#12) * Fix format CI step * format --- .github/workflows/format.yml | 1 + Tests/GlobTests/Pattern+fnmatchTests.swift | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/format.yml b/.github/workflows/format.yml index 2ba3d37..9c2ccd2 100644 --- a/.github/workflows/format.yml +++ b/.github/workflows/format.yml @@ -19,6 +19,7 @@ jobs: steps: - uses: actions/checkout@v4 - uses: irgaly/setup-mint@v1 + - run: echo "$HOME/bin" >> $GITHUB_PATH - run: bin/format diff --git a/Tests/GlobTests/Pattern+fnmatchTests.swift b/Tests/GlobTests/Pattern+fnmatchTests.swift index 66dc079..92d9d3a 100644 --- a/Tests/GlobTests/Pattern+fnmatchTests.swift +++ b/Tests/GlobTests/Pattern+fnmatchTests.swift @@ -7,9 +7,9 @@ private let PERIOD = FNM_PERIOD private let NOESCAPE = FNM_NOESCAPE private let NOMATCH = FNM_NOMATCH #if os(macOS) || os(iOS) || os(watchOS) || os(tvOS) -private let LEADING_DIR = FNM_LEADING_DIR + private let LEADING_DIR = FNM_LEADING_DIR #else -private let LEADING_DIR = (1 as Int32) << 29 + private let LEADING_DIR = (1 as Int32) << 29 #endif private let EXTMATCH = (1 as Int32) << 30 // FNM_EXTMATCH