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
13 changes: 2 additions & 11 deletions .github/workflows/checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,19 +8,10 @@ jobs:
name: Changelog
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4.1.0
- uses: actions/checkout@v4
- name: Changelog Reminder
uses: peterjgrainger/action-changelog-reminder@v1.3.0
with:
changelog_regex: 'CHANGELOG.md'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
podspec:
name: Podspec
runs-on: macos-13
steps:
- uses: actions/checkout@v4.1.0
- name: Install Bundler dependencies
run: bundle install
- name: Lint podspec
run: bundle exec pod lib lint --skip-import-validation --skip-tests --allow-warnings
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
15 changes: 5 additions & 10 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,20 +8,19 @@ on:
jobs:
deploy:
name: Deploy
runs-on: macos-13
runs-on: macos-15
steps:
- uses: actions/checkout@v4.1.0
- uses: AckeeCZ/load-xcode-version@1.1.0
- uses: actions/checkout@v4
- name: Build
run: swift build --static-swift-stdlib --configuration release
run: swift build --configuration release
- name: Get tag name
id: get_version
run: echo "VERSION=${GITHUB_REF/refs\/tags\//}" >> $GITHUB_OUTPUT
- name: Archive
run: |
mv "`swift build --show-bin-path --configuration release`/ACKLocalization" .
zip -r "acklocalization-${{ steps.get_version.outputs.VERSION }}.zip" LICENSE ACKLocalization
- uses: xresloader/upload-to-github-release@v1.3.12
- uses: xresloader/upload-to-github-release@v1.6.0
if: startsWith(github.ref, 'refs/tags/')
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand All @@ -30,8 +29,4 @@ jobs:
tags: true
draft: false
- name: Install gems
run: bundle install
- name: Push podspec
run: bundle exec pod trunk push --skip-import-validation --skip-tests --allow-warnings
env:
COCOAPODS_TRUNK_TOKEN: ${{ secrets.COCOAPODS_TRUNK_TOKEN }}
run: bundle install
2 changes: 1 addition & 1 deletion .github/workflows/stale.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v8.0.0
- uses: actions/stale@v9
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
stale-issue-message: 'This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.'
Expand Down
5 changes: 2 additions & 3 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,8 @@ on: [pull_request, push]
jobs:
tests:
name: Run tests
runs-on: macos-13
runs-on: macos-15
steps:
- uses: actions/checkout@v4.1.0
- uses: AckeeCZ/load-xcode-version@1.1.0
- uses: actions/checkout@v4
- name: Run tests
run: swift test
1 change: 0 additions & 1 deletion .github/xcode-version

This file was deleted.

21 changes: 0 additions & 21 deletions ACKLocalization.podspec

This file was deleted.

3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@

## main

### Added
- Add support for [Application Default Credentials](https://cloud.google.com/docs/authentication/application-default-credentials) ([#42](https://github.com/AckeeCZ/ACKLocalization/pull/42), kudos to @olejnjak)

## 1.6.1

### Fixed
Expand Down
7 changes: 0 additions & 7 deletions Gemfile

This file was deleted.

97 changes: 0 additions & 97 deletions Gemfile.lock

This file was deleted.

115 changes: 57 additions & 58 deletions Package.resolved

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

25 changes: 14 additions & 11 deletions Package.swift
Original file line number Diff line number Diff line change
@@ -1,15 +1,13 @@
// swift-tools-version:5.1
// The swift-tools-version declares the minimum version of Swift required to build this package.
// swift-tools-version:6.0

import PackageDescription

let package = Package(
name: "ACKLocalization",
platforms: [
.macOS(.v10_15),
.macOS(.v13),
],
products: [
// Products define the executables and libraries produced by a package, and make them visible to other packages.
.library(
name: "ACKLocalizationCore",
targets: ["ACKLocalizationCore"]),
Expand All @@ -19,21 +17,26 @@ let package = Package(
],
dependencies: [
.package(
url: "https://github.com/googleapis/google-auth-library-swift",
.upToNextMajor(from: "0.5.2")
url: "https://github.com/olejnjak/google-auth-swift",
from: "0.1.1"
),
],
targets: [
// Targets are the basic building blocks of a package. A target can define a module or a test suite.
// Targets can depend on other targets in this package, and on products in packages which this package depends on.
.target(
name: "ACKLocalizationCore",
dependencies: ["OAuth2"]),
.target(
dependencies: [
.product(
name: "GoogleAuth",
package: "google-auth-swift"
),
]
),
.executableTarget(
name: "ACKLocalization",
dependencies: ["ACKLocalizationCore"]),
.testTarget(
name: "ACKLocalizationCoreTests",
dependencies: ["ACKLocalizationCore"]),
]
],
swiftLanguageModes: [.v5]
)
Loading