Skip to content

Update dependencies to Alamofire 5.0.0 & SwiftyJSON, added swift package support #84

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open
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
13 changes: 13 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
version: 2
updates:
# Check for updates to GitHub Actions
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "daily"

# Maintain dependencies for Composer
- package-ecosystem: "swift"
directory: "/"
schedule:
interval: "weekly"
33 changes: 33 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Build

on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]

jobs:
build:
name: ${{ matrix.platform }} on ${{ matrix.os }}
runs-on: macos-15
env:
scheme: AlamofireSwiftyJSON
strategy:
fail-fast: false
matrix:
include:
- platform: iPhone 16 Pro
os: 18.1
- platform: iPhone 16 Pro
os: 18.2
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 1

- name: Run Build on ${{ matrix.platform }} (iOS ${{ matrix.os }})
run: |
xcodebuild build \
-scheme $scheme \
-destination 'platform=iOS Simulator,name=${{ matrix.platform }},OS=${{ matrix.os }}'
36 changes: 11 additions & 25 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,26 +1,12 @@
# Xcode
#
build/
*.pbxuser
!default.pbxuser
*.mode1v3
!default.mode1v3
*.mode2v3
!default.mode2v3
*.perspectivev3
!default.perspectivev3
xcuserdata
*.xccheckout
*.moved-aside
DerivedData
*.hmap
*.ipa
*.xcuserstate
# OS X
.DS_Store

# CocoaPods
#
# We recommend against adding the Pods directory to your .gitignore. However
# you should judge for yourself, the pros and cons are mentioned at:
# http://guides.cocoapods.org/using/using-cocoapods.html#should-i-ignore-the-pods-directory-in-source-control
#
# Pods/
# Swift Package Manager
.build
build
Package.resolved

# Xcode user settings
xcuserdata/

.idea
6 changes: 0 additions & 6 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,6 +0,0 @@
[submodule "SwiftyJSON"]
path = SwiftyJSON
url = https://github.com/SwiftyJSON/SwiftyJSON.git
[submodule "Alamofire"]
path = Alamofire
url = https://github.com/Alamofire/Alamofire.git
2 changes: 1 addition & 1 deletion .swift-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.0
5.2
7 changes: 0 additions & 7 deletions .travis.yml

This file was deleted.

1 change: 0 additions & 1 deletion Alamofire
Submodule Alamofire deleted from 7fe7b9
Loading