Skip to content
Merged
Show file tree
Hide file tree
Changes from all 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
10 changes: 5 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
persist-credentials: false

- name: Install Rust 1.94.0
uses: dtolnay/rust-toolchain@4360b52568e2003a75bf9bc1d59f33a8e3fc893c # stable
uses: dtolnay/rust-toolchain@b725eda525362e7cf34af9a7243cac1e3f01a7ec # stable
with:
toolchain: "1.94.0"

Expand All @@ -43,7 +43,7 @@ jobs:
contents: read
services:
postgres:
image: postgres:17-alpine
image: postgres:18.6-alpine
env:
POSTGRES_USER: sqlc
POSTGRES_PASSWORD: sqlc
Expand All @@ -67,7 +67,7 @@ jobs:
sqlc-version: "1.31.1"

- name: Install Rust stable
uses: dtolnay/rust-toolchain@4360b52568e2003a75bf9bc1d59f33a8e3fc893c # stable
uses: dtolnay/rust-toolchain@b725eda525362e7cf34af9a7243cac1e3f01a7ec # stable
with:
targets: wasm32-wasip1

Expand Down Expand Up @@ -98,7 +98,7 @@ jobs:
persist-credentials: false

- name: Install buf
uses: bufbuild/buf-action@85aebf73123b5c15fd5528aaecbf9129cddf7fa7 # v1.6.0
uses: bufbuild/buf-action@37ac33d8960807670a6e9719080e885197b09cc6 # v1.7.0
with:
setup_only: true

Expand All @@ -115,4 +115,4 @@ jobs:
permissions:
contents: read
name: Verify prebuilt distribution
uses: ./.github/workflows/prebuilt.yml
uses: $/.github/workflows/prebuilt.yml
8 changes: 4 additions & 4 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,22 +31,22 @@ jobs:

- name: Install Rust toolchain
if: matrix.language == 'rust'
uses: dtolnay/rust-toolchain@4360b52568e2003a75bf9bc1d59f33a8e3fc893c # stable
uses: dtolnay/rust-toolchain@b725eda525362e7cf34af9a7243cac1e3f01a7ec # stable
with:
toolchain: stable

- name: Cache cargo artifacts
if: matrix.language == 'rust'
uses: Swatinem/rust-cache@6323deb102c322ba6fcbdcafc7e3dddab59af2b6 # v2.9.2
uses: Swatinem/rust-cache@d1527c8f67ef9af357290475d4af4b0fab8f12e0 # v2.9.3

- name: Initialize CodeQL
uses: github/codeql-action/init@2892aa5e19bbd11bc0cff5427e3b750a04d9e3c2 # v4.38.2
uses: github/codeql-action/init@33d7b85da1a04171e211befe2c739303b9a4c066 # v4.39.3
with:
build-mode: none
languages: ${{ matrix.language }}
queries: security-extended

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@2892aa5e19bbd11bc0cff5427e3b750a04d9e3c2 # v4.38.2
uses: github/codeql-action/analyze@33d7b85da1a04171e211befe2c739303b9a4c066 # v4.39.3
with:
category: /language:${{ matrix.language }}
2 changes: 1 addition & 1 deletion .github/workflows/hk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
fetch-depth: 0
persist-credentials: false
- name: Install tools
uses: jdx/mise-action@7a4e45a543138629540c9a1616d08632b893e492 # v5.0.1
uses: jdx/mise-action@b44d12e7d0d8ee7461bb893e1b1993500433185b # v5.2.7
- name: Audit dependencies
if: github.event_name == 'schedule'
run: cargo-deny --locked --workspace check
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/prebuilt.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,11 +65,11 @@ jobs:
with:
persist-credentials: false
ref: ${{ inputs.ref || github.sha }}
- uses: jdx/mise-action@7a4e45a543138629540c9a1616d08632b893e492 # v5.0.1
- uses: jdx/mise-action@b44d12e7d0d8ee7461bb893e1b1993500433185b # v5.2.7
with:
install_args: rust
cache: false
- uses: Swatinem/rust-cache@6323deb102c322ba6fcbdcafc7e3dddab59af2b6 # v2.9.2
- uses: Swatinem/rust-cache@d1527c8f67ef9af357290475d4af4b0fab8f12e0 # v2.9.3
with:
key: release-${{ matrix.target }}
- name: Install Linux build dependencies
Expand Down Expand Up @@ -112,7 +112,7 @@ jobs:
shasum -a 256 "$archive" > "$archive.sha256"
fi
done
- uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
- uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2
with:
name: binary-${{ matrix.target }}
path: dist/*
Expand All @@ -130,7 +130,7 @@ jobs:
fail-fast: false
matrix: *targets
steps:
- uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
- uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2
with:
name: binary-${{ matrix.target }}
path: dist
Expand Down Expand Up @@ -180,7 +180,7 @@ jobs:
with:
persist-credentials: false
ref: ${{ inputs.ref || github.sha }}
- uses: jdx/mise-action@7a4e45a543138629540c9a1616d08632b893e492 # v5.0.1
- uses: jdx/mise-action@b44d12e7d0d8ee7461bb893e1b1993500433185b # v5.2.7
with:
install_args: cargo-binstall
cache: false
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
contents: read
services:
postgres:
image: postgres:17-alpine
image: postgres:18.6-alpine
env:
POSTGRES_USER: sqlc
POSTGRES_PASSWORD: sqlc
Expand All @@ -51,7 +51,7 @@ jobs:
sqlc-version: "1.31.1"

- name: Install Rust stable
uses: dtolnay/rust-toolchain@4360b52568e2003a75bf9bc1d59f33a8e3fc893c # stable
uses: dtolnay/rust-toolchain@b725eda525362e7cf34af9a7243cac1e3f01a7ec # stable
with:
targets: wasm32-wasip1

Expand All @@ -78,7 +78,7 @@ jobs:
permissions:
contents: read
needs: verify
uses: ./.github/workflows/prebuilt.yml
uses: $/.github/workflows/prebuilt.yml
with:
ref: ${{ inputs.tag || github.sha }}

Expand All @@ -102,14 +102,14 @@ jobs:
ref: ${{ inputs.tag || github.ref }}

- name: Download native archives
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2
with:
pattern: binary-*
path: dist
merge-multiple: true

- name: Install Rust stable
uses: dtolnay/rust-toolchain@4360b52568e2003a75bf9bc1d59f33a8e3fc893c # stable
uses: dtolnay/rust-toolchain@b725eda525362e7cf34af9a7243cac1e3f01a7ec # stable
with:
targets: wasm32-wasip1

Expand Down Expand Up @@ -177,13 +177,13 @@ jobs:
ref: ${{ inputs.tag || github.ref }}

- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@4360b52568e2003a75bf9bc1d59f33a8e3fc893c # stable
uses: dtolnay/rust-toolchain@b725eda525362e7cf34af9a7243cac1e3f01a7ec # stable
with:
toolchain: stable

- name: Authenticate with crates.io
id: crates-io-auth
uses: rust-lang/crates-io-auth-action@c6f97d42243bad5fab37ca0427f495c86d5b1a18 # v1.0.5
uses: rust-lang/crates-io-auth-action@3268eb413133e2960fa4ae0e963ca76380c54cd9 # v1.0.6

- name: Publish crate
run: cargo publish --locked
Expand All @@ -195,7 +195,7 @@ jobs:
contents: read
name: Verify published installations
needs: [publish-crate]
uses: ./.github/workflows/prebuilt.yml
uses: $/.github/workflows/prebuilt.yml
with:
verify-install: true
ref: ${{ inputs.tag || github.sha }}
41 changes: 41 additions & 0 deletions .ryl.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
[files]
yaml = [
"*.yaml",
"*.yml",
]

[lint.rules]
anchors = "enable"
braces = "enable"
brackets = "enable"
colons = "enable"
commas = "enable"
document-end = "disable"
document-start = "disable"
empty-lines = "enable"
empty-values = "disable"
float-values = "disable"
hyphens = "enable"
indentation = "enable"
key-duplicates = "enable"
key-ordering = "disable"
line-length = "disable"
new-line-at-end-of-file = "enable"
new-lines = "enable"
octal-values = "disable"
quoted-strings = "disable"
trailing-spaces = "enable"

[lint.rules.comments]
level = "warning"
min-spaces-from-content = 1

[lint.rules.comments-indentation]
level = "warning"

[lint.rules.truthy]
check-keys = false
level = "warning"

[format]
quote-style = "preserve"
9 changes: 0 additions & 9 deletions .yamllint

This file was deleted.

Loading
Loading