Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 0 additions & 27 deletions .Package.Test.swift

This file was deleted.

14 changes: 8 additions & 6 deletions .github/workflows/Pod Lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,18 @@

name: Pod Lint
on:
workflow_dispatch:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
env:
ENCODING: LC_CTYPE=en_US.UTF-8
DEVELOPER_DIR: /Applications/Xcode_12.4.app/Contents/Developer
jobs:
pod-lint:
runs-on: macos-10.15
runs-on: macos-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Linting PodSpec for Cocoapods"
uses: actions/checkout@v4
- name: Linting PodSpec for Cocoapods
run: export "${{ env. ENCODING }}" | pod lib lint
shell: bash
shell: bash
18 changes: 11 additions & 7 deletions .github/workflows/SPM Testing.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,21 @@
# This is the First Workflow for Testing with Github Actions

name: SPM Check

on:
workflow_dispatch:
env:
DEVELOPER_DIR: /Applications/Xcode_12.4.app/Contents/Developer
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]

jobs:
spm-check:
runs-on: macos-10.15
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
- name: Setup Package File
run: mv .Package.Test.swift Package.swift
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Deleted the .Package.Test.swift file so we always use Package.swift
ref: #517

- uses: actions/checkout@v4
- uses: swift-actions/setup-swift@v2
with:
swift-version: "5.9"
- name: Build
run: swift build -v
- name: Run tests
Expand Down