Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit4a91b6d

Browse files
committed
chore: switch to an XcodeGen project file
Change-Id: I753a7652cdc730157ae7f8bc036338bae5e6b54bSigned-off-by: Thomas Kosiewski <tk@coder.com>
1 parent06b4c16 commit4a91b6d

File tree

36 files changed

+1021
-2046
lines changed

36 files changed

+1021
-2046
lines changed
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
name:"Setup Nix devshell"
2+
description:"This action sets up a nix devshell environment"
3+
runs:
4+
using:"composite"
5+
steps:
6+
-name:Setup Nix
7+
uses:DeterminateSystems/nix-installer-action@e50d5f73bfe71c2dd0aa4218de8f4afa59f8f81d# v16
8+
9+
-name:Setup GHA Nix cache
10+
uses:DeterminateSystems/magic-nix-cache-action@6221693898146dc97e38ad0e013488a16477a4c4# v9
11+
12+
-name:Enter devshell
13+
uses:nicknovitski/nix-develop@9be7cfb4b10451d3390a75dc18ad0465bed4932a# v1.2.1

‎.github/workflows/ci.yml

Lines changed: 44 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ on:
1010
paths-ignore:
1111
-"README.md"
1212

13-
1413
permissions:
1514
contents:read
1615

@@ -19,36 +18,69 @@ jobs:
1918
name:test
2019
runs-on:${{ github.repository_owner == 'coder' && 'depot-macos-latest' || 'macos-latest'}}
2120
steps:
21+
-name:Harden Runner
22+
uses:step-security/harden-runner@cb605e52c26070c328afc4562f0b4ada7618a84e# v2.10.4
23+
with:
24+
egress-policy:audit
25+
2226
-name:Checkout
2327
uses:actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683# v4.2.2
2428
with:
2529
fetch-depth:1
30+
2631
-name:Switch XCode Version
27-
uses:maxim-lobanov/setup-xcode@v1
32+
uses:maxim-lobanov/setup-xcode@60606e260d2fc5762a71e64e74b2174e8ea3c8bd# v1.6.0
2833
with:
29-
xcode-version:'16.0.0'
30-
-run:|
31-
make test
34+
# (ThomasK33): depot.dev does not yet support Xcode 16.1 or 16.2 GA, thus we're stuck with 16.0.0 for now.
35+
# I've already reached out, so hopefully this comment will soon be obsolete.
36+
xcode-version:"16.0.0"
37+
38+
-name:Setup Nix
39+
uses:./.github/actions/nix-devshell
40+
41+
-run:make test
42+
3243
format:
3344
name:fmt
3445
runs-on:${{ github.repository_owner == 'coder' && 'depot-macos-latest' || 'macos-latest'}}
3546
steps:
47+
-name:Harden Runner
48+
uses:step-security/harden-runner@cb605e52c26070c328afc4562f0b4ada7618a84e# v2.10.4
49+
with:
50+
egress-policy:audit
51+
3652
-name:Checkout
3753
uses:actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683# v4.2.2
3854
with:
3955
fetch-depth:1
40-
-run:|
41-
make fmt
56+
57+
-name:Switch XCode Version
58+
uses:maxim-lobanov/setup-xcode@60606e260d2fc5762a71e64e74b2174e8ea3c8bd# v1.6.0
59+
with:
60+
# (ThomasK33): depot.dev does not yet support Xcode 16.1 or 16.2 GA, thus we're stuck with 16.0.0 for now.
61+
# I've already reached out, so hopefully this comment will soon be obsolete.
62+
xcode-version:"16.0.0"
63+
64+
-name:Setup Nix
65+
uses:./.github/actions/nix-devshell
66+
67+
-run:make fmt
68+
4269
lint:
4370
name:lint
4471
runs-on:${{ github.repository_owner == 'coder' && 'depot-macos-latest' || 'macos-latest'}}
4572
steps:
73+
-name:Harden Runner
74+
uses:step-security/harden-runner@cb605e52c26070c328afc4562f0b4ada7618a84e# v2.10.4
75+
with:
76+
egress-policy:audit
77+
4678
-name:Checkout
4779
uses:actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683# v4.2.2
4880
with:
4981
fetch-depth:1
50-
-name:Install Swiftlint
51-
run:|
52-
brew install swiftlint
53-
-run:|
54-
make lint
82+
83+
-name:Setup Nix
84+
uses:./.github/actions/nix-devshell
85+
86+
-run:make lint

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp