Skip to content

Commit

Permalink
Update github actions.
Browse files Browse the repository at this point in the history
  • Loading branch information
rismay-luassat committed Jun 25, 2024
1 parent 4429a51 commit 8d73481
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/wrkstrm-log-swiftlint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,25 +13,25 @@ jobs:
strategy:
matrix:
os:
- macos-13
- macos-14
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- name: Cache Homebrew dependencies
id: cache-brew
uses: actions/cache@v3
uses: actions/cache@v4
with:
key: ${{ runner.os }}-homebrew-${{ hashFiles('**/Brewfile') }}
path: /usr/local/Homebrew ~/Library/Caches/Homebrew
- name: Check Cache
run: 'echo ''Cache hit: ${{ steps.cache-brew.outputs.cache-hit }}'''
- name: Setup Xcode
uses: maxim-lobanov/setup-xcode@v1
if: matrix.os == 'macos-latest' || matrix.os == 'macos-13' || matrix.os == 'self-hosted'
if: matrix.os == 'macos-latest' || matrix.os == 'macos-14' || matrix.os == 'self-hosted'
with:
xcode-version: '15.0'
xcode-version: '15.3'
- name: Set CI Style
run: echo "SPM_CI_USE_LOCAL_DEPS=false" >> $GITHUB_ENV
- name: Check CI Style
Expand All @@ -43,7 +43,7 @@ jobs:
if: steps.cache-brew.outputs.cache-hit != 'true'
run: brew install swiftlint
- name: Download SwiftLint Configuration
if: matrix.os == 'macos-latest' || matrix.os == 'macos-13'
if: matrix.os == 'macos-latest' || matrix.os == 'macos-14'
run: curl -O https://raw.githubusercontent.com/wrkstrm/WrkstrmConfig/main/.swiftlint.yml
- name: SwiftLint
run: swiftlint
8 changes: 4 additions & 4 deletions .github/workflows/wrkstrm-log-tests-swift.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
strategy:
matrix:
os:
- macos-13
- macos-14
- ubuntu-latest
runs-on: ${{ matrix.os }}
steps:
Expand All @@ -22,7 +22,7 @@ jobs:
submodules: recursive
- name: Cache SPM dependencies
id: cache-spm
uses: actions/cache@v3
uses: actions/cache@v4
with:
key: ${{ runner.os }}-spm-WrkstrmLog-${{ hashFiles('**/Package.resolved')
}}
Expand All @@ -32,9 +32,9 @@ jobs:
run: 'echo ''Cache hit: ${{ steps.cache-spm.outputs.cache-hit }}'''
- name: Setup Xcode
uses: maxim-lobanov/setup-xcode@v1
if: matrix.os == 'macos-latest' || matrix.os == 'macos-13' || matrix.os == 'self-hosted'
if: matrix.os == 'macos-latest' || matrix.os == 'macos-14' || matrix.os == 'self-hosted'
with:
xcode-version: '15.0'
xcode-version: '15.3'
- name: Swift Describe
if: steps.cache-spm.outputs.cache-hit != 'true'
run: swift package describe --type json
Expand Down

0 comments on commit 8d73481

Please sign in to comment.