Skip to content

Commit

Permalink
fix actions
Browse files Browse the repository at this point in the history
  • Loading branch information
ba0f3 committed Sep 27, 2023
1 parent 93918fa commit 25e7e93
Showing 1 changed file with 5 additions and 16 deletions.
21 changes: 5 additions & 16 deletions .github/workflows/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,20 +13,7 @@ on:
- '*.md'

jobs:
unit-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '16'
- name: Run test
run: npm test
- name: Check unused packages
run: npm run check-deps

test-actions-on-cross-platform:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os:
Expand All @@ -46,13 +33,15 @@ jobs:
version: 1.4.0
- os: windows-latest
version: devel
name: ${{ matrix.os }} - ${{ matrix.nimversion }}
runs-on: ${{ matrix.os }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
- uses: actions/checkout@v3
- uses: ./
- uses: jiro4989/setup-nim-action@v1
with:
nim-version: ${{ matrix.version }}
repo-token: ${{ secrets.GITHUB_TOKEN }}

- name: Print Nim version
run: nim -v
- name: Print Nimble version
Expand Down

0 comments on commit 25e7e93

Please sign in to comment.