Skip to content

Commit

Permalink
ci: use action prefix for components, fix rustup
Browse files Browse the repository at this point in the history
  • Loading branch information
7sDream committed May 8, 2024
1 parent 2d86f42 commit 795dd60
Show file tree
Hide file tree
Showing 7 changed files with 230 additions and 189 deletions.
Original file line number Diff line number Diff line change
@@ -1,12 +1,15 @@
name: Audit
name: Action Audit

on:
workflow_dispatch:
workflow_call:

jobs:
audit:
runs-on: ubuntu-latest
strategy:
matrix:
os: [windows-latest, ubuntu-latest, macos-latest]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout code
uses: actions/checkout@v4
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Build
name: Action Build

on:
workflow_dispatch:
Expand Down Expand Up @@ -76,6 +76,7 @@ jobs:
uses: actions/checkout@v4
- name: Install Rust toolchains
run: |
rustup set auto-self-update disable
rustup toolchain install stable --profile default -t ${{ matrix.rust-target }}
rustup show
- name: Install AArch64 target toolchain
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Dependencies version
name: Action DepVer

on:
workflow_dispatch:
Expand All @@ -15,6 +15,7 @@ jobs:
uses: actions/checkout@v4
- name: Install Rust toolchain
run: |
rustup set auto-self-update disable
rustup install stable --profile default
rustup show
- name: Install cargo-outdated
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Lint
name: Action Lint

on:
workflow_dispatch:
Expand All @@ -15,6 +15,7 @@ jobs:
uses: actions/checkout@v4
- name: Install Rust toolchain
run: |
rustup set auto-self-update disable
rustup install stable --profile default
rustup install nightly --profile default
rustup show
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,13 @@ on:
jobs:
depver:
if: "contains(github.event.head_commit.message, '(release)')"
uses: ./.github/workflows/depver.yml
uses: ./.github/workflows/action-depver.yml

daily:
uses: ./.github/workflows/daily.yaml
uses: ./.github/workflows/daily.yml

build:
uses: ./.github/workflows/build.yml
uses: ./.github/workflows/action-build.yml
needs: [daily]
with:
name: fontfor
Loading

0 comments on commit 795dd60

Please sign in to comment.