Skip to content
Merged
Show file tree
Hide file tree
Changes from 7 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,14 @@ updates:
commit-message:
prefix: "chore: "
open-pull-requests-limit: 10
cooldown:
default-days: 7
Comment on lines +27 to +28
- package-ecosystem: "cargo"
directory: "/native/arrow_format_nif"
schedule:
interval: "daily"
commit-message:
prefix: "chore: "
open-pull-requests-limit: 10
cooldown:
default-days: 7
Comment on lines +36 to +37
16 changes: 14 additions & 2 deletions .github/workflows/asf-allowlist-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ permissions:
contents: read

jobs:
gha:
name: "Analyze Actions"
allowlist:
name: Check ASF Allowlist
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
Expand All @@ -45,3 +45,15 @@ jobs:
# Check that actions are pinned and on the ASF allowlist.
# Intentionally unpinned to always use the latest allowlist from the ASF.
- uses: apache/infrastructure-actions/allowlist-check@main # zizmor: ignore[unpinned-uses]

zizmor:
name: Zizmor Checks
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
with:
persist-credentials: false

- uses: zizmorcore/zizmor-action@192e21d79ab29983730a13d1382995c2307fbcaa # v0.5.7
with:
advanced-security: false
12 changes: 7 additions & 5 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,12 @@ jobs:
url: ${{ steps.deployment.outputs.page_url }}

steps:
- uses: actions/checkout@v7.0.0
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
with:
persist-credentials: false

- name: Cache Rust crates
uses: actions/cache@v6
uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
with:
path: |
~/.cargo/bin/
Expand All @@ -70,7 +72,7 @@ jobs:
rebar3-version: '3.18.0'

- name: Cache Hex packages
uses: actions/cache@v6
uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
with:
path: ~/.cache/rebar3/hex/hexpm/packages
key: ${{ runner.os }}-hex-${{ hashFiles(format('{0}{1}', github.workspace, '/rebar.lock')) }}
Expand All @@ -81,10 +83,10 @@ jobs:
run: rebar3 ex_doc

- name: Upload artifact
uses: actions/upload-pages-artifact@v5
uses: actions/upload-pages-artifact@fc324d3547104276b827a68afc52ff2a11cc49c9 # v5.0.0
with:
path: 'doc'

- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v5
uses: actions/deploy-pages@cd2ce8fcbc39b97be8ca5fce6e763baed58fa128 # v5.0.0
31 changes: 21 additions & 10 deletions .github/workflows/erlang-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,18 @@ on:
env:
RUST_TOOLCHAIN_VERSION: stable

permissions:
contents: read

jobs:
format:
name: Check Formatting
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v7.0.0
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
with:
persist-credentials: false

- name: Install Erlang/OTP
uses: erlef/setup-beam@fc68ffb90438ef2936bbb3251622353b3dcb2f93 # v1.24.0
Expand All @@ -42,7 +47,7 @@ jobs:
rebar3-version: '3.18.0'

- name: Cache Hex packages
uses: actions/cache@v6
uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
with:
path: ~/.cache/rebar3/hex/hexpm/packages
key: ${{ runner.os }}-hex-${{ hashFiles(format('{0}{1}', github.workspace, '/rebar.lock')) }}
Expand All @@ -57,10 +62,12 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v7.0.0
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
with:
persist-credentials: false

- name: Cache Rust crates
uses: actions/cache@v6
uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
with:
path: |
~/.cargo/bin/
Expand All @@ -83,7 +90,7 @@ jobs:
rebar3-version: '3.18.0'

- name: Cache Hex packages
uses: actions/cache@v6
uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
with:
path: ~/.cache/rebar3/hex/hexpm/packages
key: ${{ runner.os }}-hex-${{ hashFiles(format('{0}{1}', github.workspace, '/rebar.lock')) }}
Expand All @@ -101,7 +108,9 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v7.0.0
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
with:
persist-credentials: false

- name: Install Erlang/OTP
uses: erlef/setup-beam@fc68ffb90438ef2936bbb3251622353b3dcb2f93 # v1.24.0
Expand All @@ -110,7 +119,7 @@ jobs:
rebar3-version: '3.18.0'

- name: Cache Hex packages
uses: actions/cache@v6
uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
with:
path: ~/.cache/rebar3/hex/hexpm/packages
key: ${{ runner.os }}-hex-${{ hashFiles(format('{0}{1}', github.workspace, '/rebar.lock')) }}
Expand All @@ -128,10 +137,12 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v7.0.0
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
with:
persist-credentials: false

- name: Cache Rust crates
uses: actions/cache@v6
uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
with:
path: |
~/.cargo/bin/
Expand All @@ -154,7 +165,7 @@ jobs:
rebar3-version: '3.18.0'

- name: Cache Hex packages
uses: actions/cache@v6
uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
with:
path: ~/.cache/rebar3/hex/hexpm/packages
key: ${{ runner.os }}-hex-${{ hashFiles(format('{0}{1}', github.workspace, '/rebar.lock')) }}
Expand Down
15 changes: 12 additions & 3 deletions .github/workflows/rust-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@ on:
env:
RUST_TOOLCHAIN_VERSION: stable

permissions:
contents: read

jobs:
lint-rust:
name: Lint Rust with Clippy
Expand All @@ -37,7 +40,9 @@ jobs:
- native/arrow_format_nif/Cargo.toml

steps:
- uses: actions/checkout@v7.0.0
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
with:
persist-credentials: false

- uses: dtolnay/rust-toolchain@29eef336d9b2848a0b548edc03f92a220660cdb8 # v1
with:
Expand All @@ -62,7 +67,9 @@ jobs:
- native/arrow_format_nif/Cargo.toml

steps:
- uses: actions/checkout@v7.0.0
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
with:
persist-credentials: false

- uses: dtolnay/rust-toolchain@29eef336d9b2848a0b548edc03f92a220660cdb8 # v1
with:
Expand All @@ -87,7 +94,9 @@ jobs:
- native/arrow_format_nif/Cargo.toml

steps:
- uses: actions/checkout@v7.0.0
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
with:
persist-credentials: false

- uses: dtolnay/rust-toolchain@29eef336d9b2848a0b548edc03f92a220660cdb8 # v1
with:
Expand Down