Skip to content

Commit

Permalink
use rust toolchain on installation spell compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
shamsartem committed Dec 28, 2023
1 parent a6fddfe commit 1a7544b
Showing 1 changed file with 19 additions and 16 deletions.
35 changes: 19 additions & 16 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
@@ -1,28 +1,28 @@
name: "test"
name: 'test'

on:
pull_request:
paths-ignore:
- "**.md"
- ".github/**"
- "!.github/workflows/tests.yml"
- "!.github/workflows/run-tests.yml"
- '**.md'
- '.github/**'
- '!.github/workflows/tests.yml'
- '!.github/workflows/run-tests.yml'
push:
branches:
- "main"
- 'main'
paths-ignore:
- "**.md"
- ".github/**"
- "!.github/workflows/tests.yml"
- "!.github/workflows/run-tests.yml"
- '**.md'
- '.github/**'
- '!.github/workflows/tests.yml'
- '!.github/workflows/run-tests.yml'

concurrency:
group: "${{ github.workflow }}-${{ github.ref }}"
group: '${{ github.workflow }}-${{ github.ref }}'
cancel-in-progress: true

jobs:
installation-spell:
name: "Check installation spell compiles"
name: 'Check installation spell compiles'
runs-on: ubuntu-latest

steps:
Expand All @@ -40,12 +40,15 @@ jobs:
- name: Setup node with self-hosted npm registry
uses: actions/setup-node@v3
with:
node-version: "18"
registry-url: "https://npm.fluence.dev"
cache: "pnpm"
node-version: '18'
registry-url: 'https://npm.fluence.dev'
cache: 'pnpm'

- run: pnpm install -r

- name: Setup Rust toolchain
uses: actions-rust-lang/setup-rust-toolchain@v1

- name: Setup fcli
uses: fluencelabs/setup-fluence@v1
with:
Expand All @@ -57,7 +60,7 @@ jobs:
run: fluence aqua --dry

cargo:
name: "Run cargo tests"
name: 'Run cargo tests'
runs-on: builder
timeout-minutes: 60

Expand Down

0 comments on commit 1a7544b

Please sign in to comment.