Skip to content

Commit

Permalink
Fix formatting in GitHub workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
djc committed Jun 8, 2022
1 parent 6d392f0 commit 3a7d0e4
Show file tree
Hide file tree
Showing 3 changed files with 54 additions and 54 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Expand Up @@ -23,4 +23,4 @@ jobs:
- name: Run ShellCheck
uses: ludeeus/action-shellcheck@0.3.0
with:
check_together: 'y'
check_together: "y"
48 changes: 24 additions & 24 deletions .github/workflows/test-release.yml
Expand Up @@ -2,9 +2,9 @@ name: Release Test

on:
push:
branches: ['rel*']
branches: ["rel*"]
pull_request:
branches: ['rel*']
branches: ["rel*"]

# From here down this should be exactly the same as test.yml

Expand All @@ -15,27 +15,27 @@ jobs:
os: [ubuntu-20.04, ubuntu-latest, macos-latest, windows-latest]
rust_version: [stable]
include:
# check all tzs on most-recent OS's
- os: ubuntu-latest
rust_version: stable
exhaustive_tz: all_tzs
- os: windows-latest
rust_version: stable
exhaustive_tz: all_tzs
- os: macos-latest
rust_version: stable
exhaustive_tz: all_tzs
# test other rust versions
- os: ubuntu-latest
rust_version: beta
- os: ubuntu-latest
rust_version: nightly
- os: ubuntu-20.04
rust_version: 1.32.0
- os: macos-latest
rust_version: 1.32.0
- os: windows-latest
rust_version: 1.32.0
# check all tzs on most-recent OS's
- os: ubuntu-latest
rust_version: stable
exhaustive_tz: all_tzs
- os: windows-latest
rust_version: stable
exhaustive_tz: all_tzs
- os: macos-latest
rust_version: stable
exhaustive_tz: all_tzs
# test other rust versions
- os: ubuntu-latest
rust_version: beta
- os: ubuntu-latest
rust_version: nightly
- os: ubuntu-20.04
rust_version: 1.32.0
- os: macos-latest
rust_version: 1.32.0
- os: windows-latest
rust_version: 1.32.0

runs-on: ${{ matrix.os }}

Expand Down Expand Up @@ -98,7 +98,7 @@ jobs:
- name: Install node
uses: actions/setup-node@v1
with:
node-version: '12'
node-version: "12"

- name: Install wasm-pack
run: |
Expand Down
58 changes: 29 additions & 29 deletions .github/workflows/test.yml
Expand Up @@ -6,7 +6,7 @@ on:
pull_request:
branches: [main]
paths:
- '**.rs'
- "**.rs"
- .github/**
- Cargo.toml

Expand All @@ -19,31 +19,31 @@ jobs:
exhaustive_tz: [onetz]
check_combinatoric: [no_combinatoric]
include:
# check all tzs on most-recent OS's
- os: ubuntu-latest
rust_version: stable
exhaustive_tz: all_tzs
- os: windows-latest
rust_version: stable
exhaustive_tz: all_tzs
- os: macos-latest
rust_version: stable
exhaustive_tz: all_tzs
# compilation check
- os: ubuntu-latest
rust_version: stable
check_combinatoric: 'combinatoric'
# test other rust versions
- os: ubuntu-latest
rust_version: beta
- os: ubuntu-latest
rust_version: nightly
- os: ubuntu-20.04
rust_version: 1.32.0
- os: macos-latest
rust_version: 1.32.0
- os: windows-latest
rust_version: 1.32.0
# check all tzs on most-recent OS's
- os: ubuntu-latest
rust_version: stable
exhaustive_tz: all_tzs
- os: windows-latest
rust_version: stable
exhaustive_tz: all_tzs
- os: macos-latest
rust_version: stable
exhaustive_tz: all_tzs
# compilation check
- os: ubuntu-latest
rust_version: stable
check_combinatoric: "combinatoric"
# test other rust versions
- os: ubuntu-latest
rust_version: beta
- os: ubuntu-latest
rust_version: nightly
- os: ubuntu-20.04
rust_version: 1.32.0
- os: macos-latest
rust_version: 1.32.0
- os: windows-latest
rust_version: 1.32.0

runs-on: ${{ matrix.os }}

Expand Down Expand Up @@ -107,7 +107,7 @@ jobs:
- name: Install node
uses: actions/setup-node@v1
with:
node-version: '12'
node-version: "12"

- name: Install wasm-pack
run: |
Expand Down Expand Up @@ -141,7 +141,7 @@ jobs:
- name: Install node
uses: actions/setup-node@v1
with:
node-version: '12'
node-version: "12"

- name: Build and Test
run: bash ci/github.sh
Expand Down Expand Up @@ -203,5 +203,5 @@ jobs:
override: true
- name: Check docs build without warnings
env:
RUSTDOCFLAGS: '-D warnings'
RUSTDOCFLAGS: "-D warnings"
run: cargo +nightly doc

0 comments on commit 3a7d0e4

Please sign in to comment.