diff --git a/.github/workflows/test-spm.yml b/.github/workflows/test-spm.yml index eb02e88..123cf07 100644 --- a/.github/workflows/test-spm.yml +++ b/.github/workflows/test-spm.yml @@ -9,7 +9,7 @@ jobs: linux: name: Test SPM Linux runs-on: ubuntu-latest - container: swiftgen/swift:5.4 + container: swiftgen/swift:5.6 steps: - name: Checkout diff --git a/Rakefile b/Rakefile index d52fd91..99882cf 100755 --- a/Rakefile +++ b/Rakefile @@ -9,7 +9,7 @@ end ## [ Constants ] ############################################################## POD_NAME = 'StencilSwiftKit'.freeze -MIN_XCODE_VERSION = 12.0 +MIN_XCODE_VERSION = 13.0 BUILD_DIR = File.absolute_path('./.build') ## [ Release a new version ] ################################################## diff --git a/rakelib/spm.rake b/rakelib/spm.rake index a8ec3ba..0475441 100644 --- a/rakelib/spm.rake +++ b/rakelib/spm.rake @@ -6,12 +6,12 @@ namespace :spm do desc 'Build using SPM' task :build do |task| Utils.print_header 'Compile using SPM' - Utils.run('swift build --enable-test-discovery', task, xcrun: true) + Utils.run('swift build', task, xcrun: true) end desc 'Run SPM Unit Tests' task :test => :build do |task| Utils.print_header 'Run the unit tests using SPM' - Utils.run('swift test --enable-test-discovery --parallel', task, xcrun: true) + Utils.run('swift test --parallel', task, xcrun: true) end end