diff --git a/.github/actions/lfs/action.yml b/.github/actions/lfs/action.yml index fb8278a..d135d8d 100644 --- a/.github/actions/lfs/action.yml +++ b/.github/actions/lfs/action.yml @@ -1,5 +1,5 @@ -name: LFS pull -description: Cached LFS pull. +name: Git LFS pull +description: Cached Git LFS pull. runs: using: "composite" @@ -16,6 +16,6 @@ runs: restore-keys: lfs- enableCrossOsArchive: true - - name: Git LFS Pull + - name: Git LFS pull shell: bash run: git lfs pull \ No newline at end of file diff --git a/.github/workflows/cross.yml b/.github/workflows/cross.yml index 40d4ea2..af78918 100644 --- a/.github/workflows/cross.yml +++ b/.github/workflows/cross.yml @@ -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 diff --git a/.github/workflows/repro.yml b/.github/workflows/repro.yml index b61443b..1f80275 100644 --- a/.github/workflows/repro.yml +++ b/.github/workflows/repro.yml @@ -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 diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index a868ee6..f31e484 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -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' @@ -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 ./... @@ -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 @@ -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 ./... @@ -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 diff --git a/embed/sqlite3.wasm b/embed/sqlite3.wasm index 2f36b29..6994d4d 100755 Binary files a/embed/sqlite3.wasm and b/embed/sqlite3.wasm differ diff --git a/go.mod b/go.mod index 18dd674..9f02443 100644 --- a/go.mod +++ b/go.mod @@ -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 ) diff --git a/go.sum b/go.sum index 85aa985..9d9e31b 100644 --- a/go.sum +++ b/go.sum @@ -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= diff --git a/sqlite3/download.sh b/sqlite3/download.sh index a7b2e25..5db422c 100755 --- a/sqlite3/download.sh +++ b/sqlite3/download.sh @@ -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-* diff --git a/vfs/tests/mptest/testdata/mptest.wasm.bz2 b/vfs/tests/mptest/testdata/mptest.wasm.bz2 index 05e1895..c6e2766 100644 --- a/vfs/tests/mptest/testdata/mptest.wasm.bz2 +++ b/vfs/tests/mptest/testdata/mptest.wasm.bz2 @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:1de925ac1b2a15c0e0ac4231a507d31bdf1ea576f0d768f5f4bf5c3436a1eece -size 470117 +oid sha256:db2dc210ff152cf9c03a4100064e9dd55eafbe61ac7ccf1cd0962c8ba3307300 +size 470743 diff --git a/vfs/tests/speedtest1/testdata/speedtest1.wasm.bz2 b/vfs/tests/speedtest1/testdata/speedtest1.wasm.bz2 index eb8da29..bd54127 100644 --- a/vfs/tests/speedtest1/testdata/speedtest1.wasm.bz2 +++ b/vfs/tests/speedtest1/testdata/speedtest1.wasm.bz2 @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:262f1702de606413a92fbb9d7d58b812140d072cacabe79556d5fa38e00461d0 -size 483792 +oid sha256:f994bcf2ae8eed9333e9b4d3929a52f3b2c4cf0a780311efa243986c4be6f1c1 +size 484371