Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 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
8 changes: 6 additions & 2 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,12 @@ updates:
# default location of `.github/workflows`
directory: "/"
schedule:
interval: "daily"
interval: "weekly"
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

monthly should be enough for this crate.

cooldown:
default-days: 7
- package-ecosystem: "cargo"
directory: "/"
schedule:
interval: "daily"
interval: "weekly"
cooldown:
default-days: 7
15 changes: 10 additions & 5 deletions .github/workflows/ci-clippy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,24 @@ name: clippy (Linux)

on:
push:
branches: [ main ]
branches: [main]
pull_request:
branches: [ main ]
branches: [main]

env:
CARGO_TERM_COLOR: always

permissions: {}

jobs:
build:
permissions: {}

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- name: Run clippy
run: cargo clippy --all-features -- -D clippy::all
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
with:
persist-credentials: false
- name: Run clippy
run: cargo clippy --all-features -- -D clippy::all
15 changes: 10 additions & 5 deletions .github/workflows/ci-fmt.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,24 @@ name: rustfmt (Linux)

on:
push:
branches: [ main ]
branches: [main]
pull_request:
branches: [ main ]
branches: [main]

env:
CARGO_TERM_COLOR: always

permissions: {}

jobs:
build:
permissions: {}

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- name: Run rustfmt
run: cargo fmt --check
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
with:
persist-credentials: false
- name: Run rustfmt
run: cargo fmt --check
55 changes: 29 additions & 26 deletions .github/workflows/ci-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,50 +2,53 @@ name: Test (Linux)

on:
push:
branches: [ main ]
branches: [main]
pull_request:
branches: [ main ]
branches: [main]

env:
CARGO_TERM_COLOR: always

permissions: {}

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
with:
persist-credentials: false

- name: Test [no features]
run: cargo test --verbose
- name: Test [no features]
run: cargo test --verbose

- name: Test ['chrono' feature]
run: cargo test --verbose --features chrono
- name: Test ['chrono' feature]
run: cargo test --verbose --features chrono

- name: Test ['tokio' feature]
run: cargo test --verbose --features tokio
- name: Test ['tokio' feature]
run: cargo test --verbose --features tokio

- name: Test ['tokio-fs' feature]
run: cargo test --verbose --features tokio-fs
- name: Test ['tokio-fs' feature]
run: cargo test --verbose --features tokio-fs

- name: Test ['deflate' feature]
run: cargo test --verbose --features deflate
- name: Test ['deflate' feature]
run: cargo test --verbose --features deflate

- name: Test ['bzip2' feature]
run: cargo test --verbose --features bzip2
- name: Test ['bzip2' feature]
run: cargo test --verbose --features bzip2

- name: Test ['lzma' feature]
run: cargo test --verbose --features lzma
- name: Test ['lzma' feature]
run: cargo test --verbose --features lzma

- name: Test ['zstd' feature]
run: cargo test --verbose --features zstd
- name: Test ['zstd' feature]
run: cargo test --verbose --features zstd

- name: Test ['xz' feature]
run: cargo test --verbose --features xz
- name: Test ['xz' feature]
run: cargo test --verbose --features xz

- name: Test ['deflate64' feature]
run: cargo test --verbose --features deflate64
- name: Test ['deflate64' feature]
run: cargo test --verbose --features deflate64

- name: Test ['full' feature]
run: cargo test --verbose --features full
- name: Test ['full' feature]
run: cargo test --verbose --features full
19 changes: 12 additions & 7 deletions .github/workflows/ci-typos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,23 +2,28 @@ name: typos (Linux)

on:
push:
branches: [ main ]
branches: [main]
pull_request:
branches: [ main ]
branches: [main]

env:
CARGO_TERM_COLOR: always

permissions: {}

jobs:
build:
permissions: {}

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
with:
persist-credentials: false

- name: Install typos
run: cargo install typos-cli
- name: Install typos
run: cargo install typos-cli

- name: Run typos
run: typos --format brief
- name: Run typos
run: typos --format brief
17 changes: 11 additions & 6 deletions .github/workflows/ci-wasm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,23 +2,28 @@ name: Build (WASM)

on:
push:
branches: [ main ]
branches: [main]
pull_request:
branches: [ main ]
branches: [main]

env:
CARGO_TERM_COLOR: always

permissions: {}

jobs:
build:
permissions: {}
name: Build ['full-wasm' feature] on ${{ matrix.target }}
runs-on: ubuntu-latest
strategy:
matrix:
target:
- wasm32-wasi
- wasm32-wasip1
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I couldn't get this working easily, and I don't think it's a blocker so I'm just going to delete it for now.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(Looks like the original upstream also deleted it.)

- wasm32-unknown-unknown
steps:
- uses: actions/checkout@v4
- run: rustup target add ${{ matrix.target }}
- run: cargo build --verbose --target ${{ matrix.target }} --features full-wasm
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
with:
persist-credentials: false
- run: rustup target add ${{ matrix.target }}
- run: cargo build --verbose --target ${{ matrix.target }} --features full-wasm
24 changes: 24 additions & 0 deletions .github/workflows/zizmor.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: GitHub Actions Security Analysis with zizmor

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

permissions: {}

jobs:
zizmor:
name: Run zizmor 🌈
runs-on: ubuntu-latest
permissions:
security-events: write # Required for upload-sarif (used by zizmor-action) to upload SARIF files.
steps:
- name: Checkout repository
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
persist-credentials: false

- name: Run zizmor 🌈
uses: zizmorcore/zizmor-action@71321a20a9ded102f6e9ce5718a2fcec2c4f70d8 # v0.5.2
Loading