WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

chore(deps): update rust crate pastey to 0.2.0 #2861

chore(deps): update rust crate pastey to 0.2.0

chore(deps): update rust crate pastey to 0.2.0 #2861

Workflow file for this run

on:
push:
branches: main
pull_request:
branches: main
# https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#concurrency
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
nix-flake-check:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v5
- name: Set up build dependencies
uses: ./.github/actions/nix-build
with:
nix_path: nixpkgs=channel:nixpkgs-unstable
auth_token: "${{ secrets.CACHIX_TWEAG_TOPIARY_AUTH_TOKEN }}"
- name: Clippy, test, and benchmark
env:
# Disable Nix garbage collection
GC_DONT_GC: 1
run: nix -L flake check
nix-client-app:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v5
- name: Set up build dependencies
uses: ./.github/actions/nix-build
with:
nix_path: nixpkgs=channel:nixpkgs-unstable
auth_token: "${{ secrets.CACHIX_TWEAG_TOPIARY_AUTH_TOKEN }}"
- name: Build and test executable
run: 'echo \{ \"foo\": \"bar\" \} | nix run . -- fmt -l json'
- name: Build client-app example
run: nix build .#client-app
- name: Verify that usage in README.md matches CLI output
run: nix run .#verify-documented-usage
- name: Test against config regressions
run: |
nix run . -- config --merge --cfg ./topiary-config/tests/issue-1124.ncl
nix run . -- config --merge --cfg ./topiary-config/tests/issue-1131.ncl
topiary-cli:
strategy:
matrix:
os:
- ubuntu-latest
- macos-latest
runs-on: ${{ matrix.os }}
steps:
- name: Checkout code
uses: actions/checkout@v5
- name: Set up build dependencies
uses: ./.github/actions/nix-build
with:
nix_path: nixpkgs=channel:nixpkgs-unstable
auth_token: "${{ secrets.CACHIX_TWEAG_TOPIARY_AUTH_TOKEN }}"
- name: Build the topiary-cli and test those tests that cannot be performed in Nix
run: nix develop --command bash -c "cargo test -p topiary-cli --features experimental"
test-windows:
# Note: GitHub's Windows runners have a Rust toolchain installed
# https://github.com/actions/runner-images/blob/main/images/windows/Windows2022-Readme.md
runs-on: windows-latest
steps:
- name: Checkout
uses: actions/checkout@v5
- name: Init rust-cache
uses: Swatinem/rust-cache@v2
- name: Prefetch grammars
run: cargo run --all-features -- prefetch
- name: Run test suite
run: cargo test --all-features