Skip to content

Commit

Permalink
build(deps): decrease go version to 1.19 (#15)
Browse files Browse the repository at this point in the history
Using the previous go version to increase compatibility with older
distros.
  • Loading branch information
aelesbao committed Nov 13, 2023
1 parent 9cf1cf5 commit ad74b93
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 8 deletions.
12 changes: 5 additions & 7 deletions .github/workflows/prebuild.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,9 @@ name: Pre-build binaries

on:
push:
branches:
- main
branches: ["**"]
pull_request:
branches:
- main
branches: [main]

permissions:
contents: write
Expand All @@ -30,9 +28,9 @@ jobs:
- uses: actions/setup-python@v4
with:
python-version: "3.10"
- uses: actions/setup-go@v3
- uses: actions/setup-go@v4
with:
go-version: "1.20.1"
go-version: "1.19.13"
- name: Install
run: npm install --ignore-scripts
- name: Build
Expand All @@ -44,7 +42,7 @@ jobs:
npm test
fi
- name: Commit pre-built binary
if: github.event_name == 'pull_request'
if: (github.event_name == 'pull_request' || (github.event_name == 'push' && contains(github.event.head_commit.message, 'CI=pre-build')))
run: |
if [ -n "$(git status --porcelain -- prebuilds)" ]; then
git config --global user.name "GitHub Actions"
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module archwayhq/keyring-go

go 1.20
go 1.19

require (
github.com/99designs/go-keychain v0.0.0-20191008050251-8e49817e8af4 // indirect
Expand Down
Binary file modified prebuilds/darwin-arm64/node.napi.node
Binary file not shown.
Binary file modified prebuilds/darwin-x64/node.napi.node
Binary file not shown.
Binary file modified prebuilds/linux-x64/node.napi.node
Binary file not shown.

0 comments on commit ad74b93

Please sign in to comment.