Skip to content

Commit

Permalink
Dependencies.
Browse files Browse the repository at this point in the history
  • Loading branch information
ncruces committed May 6, 2024
1 parent 190ca0f commit 57686a2
Show file tree
Hide file tree
Showing 10 changed files with 36 additions and 38 deletions.
6 changes: 3 additions & 3 deletions .github/actions/lfs/action.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: LFS pull
description: Cached LFS pull.
name: Git LFS pull
description: Cached Git LFS pull.

runs:
using: "composite"
Expand All @@ -16,6 +16,6 @@ runs:
restore-keys: lfs-
enableCrossOsArchive: true

- name: Git LFS Pull
- name: Git LFS pull
shell: bash
run: git lfs pull
4 changes: 1 addition & 3 deletions .github/workflows/cross.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,8 @@ jobs:

steps:
- uses: actions/checkout@v4

- uses: actions/setup-go@v5
with:
go-version: stable
with: { go-version: stable }

- name: Build
run: .github/workflows/cross.sh
6 changes: 1 addition & 5 deletions .github/workflows/repro.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,8 @@ jobs:

steps:
- uses: actions/checkout@v4
with:
lfs: 'true'

- uses: actions/setup-go@v5
with:
go-version: stable
with: { go-version: stable }

- name: Build
run: .github/workflows/repro.sh
30 changes: 17 additions & 13 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,12 @@ jobs:

steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/lfs

- uses: actions/setup-go@v5
with: { go-version: stable }

- name: Git LFS pull
uses: ./.github/actions/lfs

- name: Format
run: gofmt -s -w . && git diff --exit-code
if: matrix.os != 'windows-latest'
Expand Down Expand Up @@ -66,17 +67,18 @@ jobs:
github.event_name == 'push' &&
matrix.os == 'ubuntu-latest'
test-m1:
runs-on: macos-14
test-intel:
runs-on: macos-13
needs: test

steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/lfs

- uses: actions/setup-go@v5
with: { go-version: stable }

- name: Git LFS pull
uses: ./.github/actions/lfs

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

Expand All @@ -86,11 +88,12 @@ jobs:

steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/lfs

- uses: actions/setup-go@v5
with: { go-version: stable }

- name: Git LFS pull
uses: ./.github/actions/lfs

- name: Build
env:
GOOS: freebsd
Expand All @@ -111,13 +114,13 @@ jobs:
needs: test

steps:
- uses: docker/setup-qemu-action@v3
- uses: actions/checkout@v4
- uses: ./.github/actions/lfs

- uses: actions/setup-go@v5
with: { go-version: stable }

- uses: docker/setup-qemu-action@v3
- name: Git LFS pull
uses: ./.github/actions/lfs

- name: Test 386 (32-bit)
run: GOARCH=386 go test -v -short ./...
Expand All @@ -137,11 +140,12 @@ jobs:

steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/lfs

- uses: actions/setup-go@v5
with: { go-version: stable }

- name: Git LFS pull
uses: ./.github/actions/lfs

- name: Build illumos
env:
GOOS: illumos
Expand Down
Binary file modified embed/sqlite3.wasm
Binary file not shown.
6 changes: 3 additions & 3 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ require (
github.com/ncruces/julianday v1.0.0
github.com/psanford/httpreadat v0.1.0
github.com/tetratelabs/wazero v1.7.1
golang.org/x/crypto v0.22.0
golang.org/x/crypto v0.23.0
golang.org/x/sync v0.7.0
golang.org/x/sys v0.19.0
golang.org/x/text v0.14.0
golang.org/x/sys v0.20.0
golang.org/x/text v0.15.0
lukechampine.com/adiantum v1.0.0
)

Expand Down
12 changes: 6 additions & 6 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -8,18 +8,18 @@ github.com/tetratelabs/wazero v1.7.1 h1:QtSfd6KLc41DIMpDYlJdoMc6k7QTN246DM2+n2Y/
github.com/tetratelabs/wazero v1.7.1/go.mod h1:ytl6Zuh20R/eROuyDaGPkp82O9C/DJfXAwJfQ3X6/7Y=
golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w=
golang.org/x/crypto v0.0.0-20190530122614-20be4c3c3ed5/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI=
golang.org/x/crypto v0.22.0 h1:g1v0xeRhjcugydODzvb3mEM9SQ0HGp9s/nh3COQ/C30=
golang.org/x/crypto v0.22.0/go.mod h1:vr6Su+7cTlO45qkww3VDJlzDn0ctJvRgYbC2NvXHt+M=
golang.org/x/crypto v0.23.0 h1:dIJU/v2J8Mdglj/8rJ6UUOM3Zc9zLZxVZwwxMooUSAI=
golang.org/x/crypto v0.23.0/go.mod h1:CKFgDieR+mRhux2Lsu27y0fO304Db0wZe70UKqHu0v8=
golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg=
golang.org/x/sync v0.7.0 h1:YsImfSBoP9QPYL0xyKJPq0gcaJdG3rInoqxTWbfQu9M=
golang.org/x/sync v0.7.0/go.mod h1:Czt+wKu1gCyEFDUtn0jG5QVvpJ6rzVqr5aXyt9drQfk=
golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20190602015325-4c4f7f33c9ed/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.19.0 h1:q5f1RH2jigJ1MoAWp2KTp3gm5zAGFUTarQZ5U386+4o=
golang.org/x/sys v0.19.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
golang.org/x/sys v0.20.0 h1:Od9JTbYCk261bKm4M/mw7AklTlFYIa0bIp9BgSm1S8Y=
golang.org/x/sys v0.20.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
golang.org/x/text v0.14.0 h1:ScX5w1eTa3QqT8oi6+ziP7dTV1S2+ALU0bI+0zXKWiQ=
golang.org/x/text v0.14.0/go.mod h1:18ZOQIKpY8NJVqYksKHtTdi31H5itFRjB5/qKTNYzSU=
golang.org/x/text v0.15.0 h1:h1V/4gjBv8v9cjcR6+AR5+/cIYK5N/WAgiv4xlsEtAk=
golang.org/x/text v0.15.0/go.mod h1:18ZOQIKpY8NJVqYksKHtTdi31H5itFRjB5/qKTNYzSU=
lukechampine.com/adiantum v1.0.0 h1:xxLFgKHyno8ES1XiKLbQfU9DGiMaM2xsIJI2czgT7es=
lukechampine.com/adiantum v1.0.0/go.mod h1:kjMpBiZFjVX/FeEYcN81jyt3//7J3XjJgH9OkAXV4n0=
2 changes: 1 addition & 1 deletion sqlite3/download.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ set -euo pipefail

cd -P -- "$(dirname -- "$0")"

curl -#OL "https://sqlite.org/2024/sqlite-amalgamation-3450200.zip"
curl -#OL "https://sqlite.org/2024/sqlite-amalgamation-3450300.zip"
unzip -d . sqlite-amalgamation-*.zip
mv sqlite-amalgamation-*/sqlite3* .
rm -rf sqlite-amalgamation-*
Expand Down
4 changes: 2 additions & 2 deletions vfs/tests/mptest/testdata/mptest.wasm.bz2
Git LFS file not shown
4 changes: 2 additions & 2 deletions vfs/tests/speedtest1/testdata/speedtest1.wasm.bz2
Git LFS file not shown

0 comments on commit 57686a2

Please sign in to comment.