Skip to content

Commit

Permalink
add profile test
Browse files Browse the repository at this point in the history
  • Loading branch information
wackbyte committed Jan 20, 2024
1 parent 5460523 commit 2c84aef
Show file tree
Hide file tree
Showing 3 changed files with 38 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .forgejo/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,3 +59,14 @@ jobs:

- name: Run test
uses: ./tests/override

test-profile:
name: Profile test
runs-on: docker
container:
image: node:20-bullseye
steps:
- uses: https://code.forgejo.org/actions/checkout@v4

- name: Run test
uses: ./tests/profile
9 changes: 9 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,3 +59,12 @@ jobs:

- name: Run test
uses: ./tests/override

test-profile:
name: Profile test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: Run test
uses: ./tests/profile
18 changes: 18 additions & 0 deletions tests/profile/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Profile test
description: Check that the profile setting works

runs:
using: composite
steps:
- name: Install Rust stable with profile
id: toolchain
uses: ./
with:
toolchain: stable
profile: default

- run: cargo init . --bin --name ci
shell: bash

- run: cargo fmt
shell: bash

0 comments on commit 2c84aef

Please sign in to comment.