Skip to content

Commit

Permalink
ci: Update to gopenpgp v3
Browse files Browse the repository at this point in the history
  • Loading branch information
lubux committed Dec 7, 2023
1 parent 0d044f3 commit 992dbe0
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 23 deletions.
5 changes: 5 additions & 0 deletions .github/actions/build-gosop/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@ name: 'build-gosop'
description: 'Build gosop from the current branch'

inputs:
gosop-ref:
description: 'gosop branch tag or commit to build from'
required: false
default: 'main'

gopenpgp-ref:
description: 'gopenpgp branch tag or commit to build from'
Expand Down Expand Up @@ -30,6 +34,7 @@ runs:
uses: actions/checkout@v3
with:
repository: ProtonMail/gosop
ref: ${{ inputs.gosop-ref }}
path: gosop
- name: Cache go modules
uses: actions/cache@v3
Expand Down
3 changes: 0 additions & 3 deletions .github/workflows/android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,6 @@ jobs:

- name: Build
run: |
for d in $ANDROID_NDK_HOME/../23*; do
ANDROID_NDK_HOME=$d
done
./build.sh android
find dist
Expand Down
17 changes: 1 addition & 16 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,21 +22,6 @@ jobs:
- name: Test
run: go test -v -race ./...

test-old:
name: Test with 1.15
runs-on: ubuntu-latest
steps:
- name: Check out repo
uses: actions/checkout@v3

- name: Set up Go 1.15
uses: actions/setup-go@v3
with:
go-version: 1.15

- name: Test
run: go test -v -race ./...

lint:
name: Lint
runs-on: ubuntu-latest
Expand All @@ -48,4 +33,4 @@ jobs:
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
with:
version: v1.50.1
version: 1.54.2
3 changes: 0 additions & 3 deletions .github/workflows/ios.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,6 @@ jobs:
env:
platform: ${{ 'iOS Simulator' }}
run: |
for d in $ANDROID_NDK_HOME/../23*; do
ANDROID_NDK_HOME=$d
done
./build.sh apple
find dist
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/sop-test-suite.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ jobs:
uses: ./.github/actions/build-gosop
with:
binary-location: ./gosop-${{ github.sha }}
gosop-ref: gosop-gopenpgp-v3
# Upload as artifact
- name: Upload gosop artifact
uses: actions/upload-artifact@v3
Expand Down Expand Up @@ -46,7 +47,7 @@ jobs:
name: Run interoperability test suite
runs-on: ubuntu-latest
container:
image: ghcr.io/protonmail/openpgp-interop-test-docker:v1.1.1
image: ghcr.io/protonmail/openpgp-interop-test-docker:v.1.1.3
credentials:
username: ${{ github.actor }}
password: ${{ secrets.github_token }}
Expand Down

0 comments on commit 992dbe0

Please sign in to comment.