diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index f6b2e80..efd38ec 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -20,24 +20,23 @@ jobs: fail-fast: false matrix: version: - - '1.8' - - '1.9' - - 'nightly' + - 'lts' + - '1' os: - ubuntu-latest arch: - x64 steps: - - uses: actions/checkout@v4 - - uses: julia-actions/setup-julia@v1 + - uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1 + - uses: julia-actions/setup-julia@fa02766e078afaaf09b14210362cee14137e6a32 # v3.0.2 with: version: ${{ matrix.version }} arch: ${{ matrix.arch }} - - uses: julia-actions/cache@v1 - - uses: julia-actions/julia-buildpkg@v1 - - uses: julia-actions/julia-runtest@v1 - - uses: julia-actions/julia-processcoverage@v1 - - uses: codecov/codecov-action@v3 + - uses: julia-actions/cache@a45e8fa8be21c18a06b7177052533149e61e9b38 # v3.1.0 + - uses: julia-actions/julia-buildpkg@e3eb439fad4f9aba7da2667e7510e4a46ebc46e1 # v1.7.0 + - uses: julia-actions/julia-runtest@d60b785c6f2bdf4ebfb18b2b6f7d93b7dfb0efe3 # v1.11.4 + - uses: julia-actions/julia-processcoverage@03114f09f119417c3242a9fb6e0b722676aedf38 # v1.2.2 + - uses: codecov/codecov-action@5a1091511ad55cbe89839c7260b706298ca349f7 # v5.5.1 with: files: lcov.info docs: @@ -46,12 +45,12 @@ jobs: permissions: contents: write steps: - - uses: actions/checkout@v4 - - uses: julia-actions/setup-julia@v1 + - uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1 + - uses: julia-actions/setup-julia@fa02766e078afaaf09b14210362cee14137e6a32 # v3.0.2 with: version: '1' - - uses: julia-actions/julia-buildpkg@v1 - - uses: julia-actions/julia-docdeploy@v1 + - uses: julia-actions/julia-buildpkg@e3eb439fad4f9aba7da2667e7510e4a46ebc46e1 # v1.7.0 + - uses: julia-actions/julia-docdeploy@e62cc8fd639797a0c2922a437d5b1b81c4a12787 # v1.3.1 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - run: | diff --git a/.github/workflows/TagBot.yml b/.github/workflows/TagBot.yml index f49313b..fd91e24 100644 --- a/.github/workflows/TagBot.yml +++ b/.github/workflows/TagBot.yml @@ -9,7 +9,7 @@ jobs: if: github.event_name == 'workflow_dispatch' || github.actor == 'JuliaTagBot' runs-on: ubuntu-latest steps: - - uses: JuliaRegistries/TagBot@v1 + - uses: JuliaRegistries/TagBot@6b7c22e7bc2b8f4d1c56b7199a63421cf2667ed1 # v1.25.7 with: token: ${{ secrets.GITHUB_TOKEN }} ssh: ${{ secrets.DOCUMENTER_KEY }} diff --git a/.github/workflows/format_check.yml b/.github/workflows/format_check.yml index 442b0b6..29b8978 100644 --- a/.github/workflows/format_check.yml +++ b/.github/workflows/format_check.yml @@ -12,17 +12,17 @@ jobs: runs-on: ${{ matrix.os }} strategy: matrix: - julia-version: [1.9.2] - julia-arch: [x86] + julia-version: ['lts'] + julia-arch: [x64] os: [ubuntu-latest] steps: - - uses: julia-actions/setup-julia@latest + - uses: julia-actions/setup-julia@fa02766e078afaaf09b14210362cee14137e6a32 # v3.0.2 with: version: ${{ matrix.julia-version }} - - uses: actions/checkout@v4 + - uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1 - name: Install JuliaFormatter and format run: | - julia -e 'using Pkg; Pkg.add(PackageSpec(name="JuliaFormatter"))' + julia -e 'using Pkg; Pkg.add(PackageSpec(name="JuliaFormatter"; version="1"))' julia -e 'using JuliaFormatter; format(".", verbose=true)' - name: Format check run: | diff --git a/.github/workflows/register.yml b/.github/workflows/register.yml index 5b7cd3b..9bb30d6 100644 --- a/.github/workflows/register.yml +++ b/.github/workflows/register.yml @@ -11,6 +11,6 @@ jobs: permissions: contents: write steps: - - uses: julia-actions/RegisterAction@latest + - uses: julia-actions/RegisterAction@d391a7f14ee6db8ad3f8cd26f6da1a6c6fd5b7fb # v0.3.2 with: token: ${{ secrets.GITHUB_TOKEN }} diff --git a/Project.toml b/Project.toml index 925a45f..5d8c447 100644 --- a/Project.toml +++ b/Project.toml @@ -1,7 +1,7 @@ name = "DTables" uuid = "20c56dc6-594c-4682-91cf-1d46875b1eba" authors = ["Krystian GuliƄski", "Julian Samaroo", "and contributors"] -version = "0.4.3" +version = "0.5.0" [deps] Dagger = "d58978e5-989f-55fb-8d15-ea34adc7bf54" @@ -14,9 +14,9 @@ TableOperations = "ab02a1b2-a7df-11e8-156e-fb1833f50b87" Tables = "bd369af6-aec1-5ad0-b16a-f7cc5008161c" [compat] -Dagger = "0.18.5" +Dagger = "0.18.5,0.19" DataAPI = "1" -DataFrames = "1.4,1.5,1.6" +DataFrames = "1.4,1.5,1.6,1.7,1.8" InvertedIndices = "1" SentinelArrays = "1" TableOperations = "1" diff --git a/test/tablesjl.jl b/test/tablesjl.jl index 3e0806a..55d18c5 100644 --- a/test/tablesjl.jl +++ b/test/tablesjl.jl @@ -64,8 +64,8 @@ @test Tables.columnaccess(gd) @test Tables.schema(gd).names == (:a, :b) @test Tables.schema(gd).types == (Int64, Int64) - @test Tables.getcolumn(gd, :a) == [1, 2, 3] - @test Tables.getcolumn(gd, 1) == [1, 2, 3] + @test sort(Tables.getcolumn(gd, :a)) == [1, 2, 3] + @test sort(Tables.getcolumn(gd, 1)) == [1, 2, 3] @test Tables.columnnames(gd) == (:a, :b) end end