-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
24 changed files
with
305 additions
and
132 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -55,11 55,11 @@ jobs: | |
targets: ${{ matrix.target }} | ||
- name: Install cross | ||
if: ${{ matrix.use-cross }} | ||
uses: taiki-e/install-action@v2.23.9 | ||
uses: taiki-e/install-action@v2.25.2 | ||
with: | ||
tool: cross | ||
- name: Cache build artifacts | ||
uses: Swatinem/[email protected].1 | ||
uses: Swatinem/[email protected].3 | ||
with: | ||
key: ${{ matrix.target }} | ||
- name: Setup Ruby | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -47,7 47,7 @@ jobs: | |
toolchain: ${{ matrix.toolchain }} | ||
targets: ${{ matrix.target }} | ||
- name: Cache build artifacts | ||
uses: Swatinem/[email protected].1 | ||
uses: Swatinem/[email protected].3 | ||
with: | ||
key: ${{ matrix.target }} | ||
- name: Run tests | ||
|
@@ -67,7 67,7 @@ jobs: | |
toolchain: stable | ||
components: rustfmt | ||
- name: Cache build artifacts | ||
uses: Swatinem/[email protected].1 | ||
uses: Swatinem/[email protected].3 | ||
- name: Check code formatted | ||
run: cargo fmt -- --check | ||
|
||
|
@@ -83,7 83,7 @@ jobs: | |
toolchain: stable | ||
components: clippy | ||
- name: Cache build artifacts | ||
uses: Swatinem/[email protected].1 | ||
uses: Swatinem/[email protected].3 | ||
- name: Check no lint warnings | ||
run: cargo clippy -- -D warnings | ||
- name: Check no lint warnings (no default features) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 1,31 @@ | ||
# SPDX-FileCopyrightText: 2023 Kevin Matthes | ||
# SPDX-FileCopyrightText: 2023 Shun Sakai | ||
# | ||
# SPDX-License-Identifier: Apache-2.0 OR MIT | ||
|
||
name: actionlint | ||
|
||
on: | ||
pull_request: | ||
paths: | ||
- .github/workflows/*.yaml | ||
push: | ||
paths: | ||
- .github/workflows/*.yaml | ||
|
||
permissions: | ||
contents: read | ||
|
||
jobs: | ||
validation: | ||
name: Validate | ||
runs-on: ubuntu-22.04 | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v4 | ||
with: | ||
persist-credentials: false | ||
- name: Check no lint warnings | ||
uses: docker://rhysd/actionlint:latest | ||
with: | ||
args: -color -verbose |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.