Skip to content

Commit

Permalink
ci: use arch in uploaded artifact, upload only necessary (#19)
Browse files Browse the repository at this point in the history
* ci: use arch in uploaded artifact, upload only necessary

* ci: add linux-arm

* ci: add text for typo, link checker

* Revert "ci: add linux-arm"

This reverts commit d824bcc.

---------

Co-authored-by: Jeromos Kovács <[email protected]>
  • Loading branch information
JeromeSchmied and Jeromos Kovács authored Jan 25, 2025
1 parent e6629cb commit f07e7ba
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 6 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,6 @@ jobs:
- uses: actions/checkout@v4
- uses: swatinem/rust-cache@v2

- name: Check typos
if: matrix.os == 'ubuntu-latest'
uses: crate-ci/[email protected]

- name: Build in release mode
run: cargo build --release --verbose

Expand All @@ -39,5 +35,7 @@ jobs:
- name: Upload executable
uses: actions/upload-artifact@v4
with:
name: fit2gpx_${{ matrix.os }}
path: target/release/fit2gpx*
name: fit2gpx_${{ runner.os }}_${{ runner.arch }}
path: |
target/release/fit2gpx
target/release/fit2gpx.exe
37 changes: 37 additions & 0 deletions .github/workflows/text.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: text

# on:
# repository_dispatch:
# workflow_dispatch:
# schedule:
# - cron: "00 18 * * *"
on:
push:
branches: ["main"]
pull_request:
branches: ["main"]

jobs:
textCheck:
runs-on: ubuntu-latest
permissions:
issues: write # required for peter-evans/create-issue-from-file
steps:
- uses: actions/checkout@v4

- name: Typo Checker
uses: crate-ci/[email protected]

- name: Link Checker
id: lychee
uses: lycheeverse/lychee-action@v2
with:
fail: false

- name: Create Issue From File
if: steps.lychee.outputs.exit_code != 0
uses: peter-evans/create-issue-from-file@v5
with:
title: Link Checker Report
content-filepath: ./lychee/out.md
labels: report, automated issue

0 comments on commit f07e7ba

Please sign in to comment.