Skip to content

Commit

Permalink
Merge pull request #117 from ceifa/ga-workflow
Browse files Browse the repository at this point in the history
split code check action
  • Loading branch information
ceifa authored Aug 23, 2023
2 parents 651ad5a + c68495f commit 7d36416
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 14 deletions.
28 changes: 17 additions & 11 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,23 @@ env:
MACOSX_DEPLOYMENT_TARGET: '10.13'

jobs:
check:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3

- name: Setup Rust
uses: dtolnay/rust-toolchain@stable
with:
toolchain: stable

- name: Check formatting
run: cargo fmt --all --check

- name: Clippy
run: cargo clippy

build:
runs-on: ubuntu-latest

Expand All @@ -31,12 +48,6 @@ jobs:

- run: cargo install cargo-xwin

- name: Check formatting
run: cargo fmt --all --check

- name: Clippy
run: cargo clippy

- name: Node install
run: npm ci

Expand Down Expand Up @@ -72,11 +83,6 @@ jobs:

- uses: Swatinem/rust-cache@v2

- run: cargo install cargo-xwin

- name: Clippy
run: cargo clippy

- name: Node install
run: npm ci

Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "steamworks.js",
"version": "0.3.0",
"version": "0.3.1",
"main": "index.js",
"types": "index.d.ts",
"napi": {
Expand Down

0 comments on commit 7d36416

Please sign in to comment.