Skip to content

Commit 26a9f15

Browse files
committed
fixup
Signed-off-by: Alexander Dahmen <[email protected]>
1 parent ad77b85 commit 26a9f15

File tree

1 file changed

+10
-42
lines changed

1 file changed

+10
-42
lines changed

.github/workflows/ci.yaml

Lines changed: 10 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -8,47 +8,15 @@ env:
88
jobs:
99
main:
1010
name: CI
11-
runs-on: macOS-latest
12-
env:
13-
SNAPCRAFT_STORE_CREDENTIALS: ${{ secrets.SNAPCRAFT_TOKEN }}
14-
# Needed to publish new packages to our S3-hosted APT repo
15-
AWS_ACCESS_KEY_ID: ${{ secrets.OBJECT_STORAGE_ACCESS_KEY_ID }}
16-
AWS_SECRET_ACCESS_KEY: ${{ secrets.OBJECT_STORAGE_SECRET_ACCESS_KEY }}
11+
runs-on: ubuntu-latest
1712
steps:
18-
- uses: actions/checkout@v4
13+
- name: Checkout
14+
uses: actions/checkout@v4
15+
- name: Build
16+
uses: ./.github/actions/build
1917
with:
20-
# Allow goreleaser to access older tag information.
21-
fetch-depth: 0
22-
- uses: actions/setup-go@v5
23-
with:
24-
go-version-file: "go.mod"
25-
cache: true
26-
- name: Import GPG key
27-
uses: crazy-max/ghaction-import-gpg@v6
28-
id: import_gpg
29-
with:
30-
gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }}
31-
passphrase: ${{ secrets.GPG_PASSPHRASE }}
32-
- name: Set up keychain
33-
run: |
34-
echo -n $SIGNING_CERTIFICATE_BASE64 | base64 -d -o ./ApplicationID.p12
35-
KEYCHAIN_PATH=$RUNNER_TEMP/ios_signing_temp.keychain-db
36-
security create-keychain -p "${{ secrets.TEMP_KEYCHAIN }}" $KEYCHAIN_PATH
37-
security default-keychain -s $KEYCHAIN_PATH
38-
security unlock-keychain -p "${{ secrets.TEMP_KEYCHAIN }}" $KEYCHAIN_PATH
39-
security import ./ApplicationID.p12 -P "${{ secrets.APPLICATION_ID }}" -A -t cert -f pkcs12 -k $KEYCHAIN_PATH
40-
security list-keychain -d user -s $KEYCHAIN_PATH
41-
echo -n $AUTHKEY_BASE64 | base64 -d -o ./AuthKey.p8
42-
xcrun notarytool store-credentials stackit-cli -i $APPLE_ISSUER -d $APPLE_KEY_ID -k AuthKey.p8 --keychain $KEYCHAIN_PATH
43-
rm ./ApplicationID.p12
44-
rm ./AuthKey.p8
45-
env:
46-
APPLE_ISSUER: ${{ secrets.APPLE_ISSUER }}
47-
APPLE_KEY_ID: ${{ secrets.APPLE_KEY_ID }}
48-
SIGNING_CERTIFICATE_BASE64: ${{ secrets.APPLICATION_ID_CERT }}
49-
AUTHKEY_BASE64: ${{ secrets.APPLE_API_KEY }}
50-
- name: Install Aptly
51-
run: |
52-
brew help
53-
brew install aptly.rb
54-
aptly version
18+
go-version: ${{ env.GO_VERSION }}
19+
- name: Lint
20+
run: make lint
21+
- name: Test
22+
run: make test

0 commit comments

Comments
 (0)