Compare commits

..

7 Commits

Author SHA1 Message Date
Oliver Atkinson
a7144c12a4 patch for gitea 2024-07-29 08:50:02 -06:00
Oliver Atkinson
b59c03d8bd gitea needs to write documentation 2024-07-29 08:47:23 -06:00
Oliver Atkinson
e4642110eb dumb 2024-07-29 08:44:25 -06:00
Oliver Atkinson
a128d982e9 fix merge 2024-07-29 08:40:43 -06:00
Oliver Atkinson
dec645d074 working path? 2024-07-29 08:38:12 -06:00
b4b3ece96f Update setup.sh 2024-07-29 14:34:14 +00:00
Oliver Atkinson
f55bb6e897 add not working stuff 2024-07-29 08:30:05 -06:00
3 changed files with 2 additions and 47 deletions

1
.github/FUNDING.yml vendored
View File

@@ -1 +0,0 @@
ko_fi: hecrj_

View File

@@ -1,44 +0,0 @@
name: Test
on:
push:
branches: '*'
schedule:
- cron: '0 0 * * *'
jobs:
setup:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macOS-latest]
rust: [stable, nightly]
include:
- os: macOS-latest
rust: stable
components: rustfmt, clippy
targets: x86_64-apple-darwin
- os: windows-latest
rust: stable
components: rustfmt, clippy
targets: x86_64-pc-windows-msvc
- os: ubuntu-latest
rust: stable
components: rustfmt, clippy
targets: x86_64-unknown-linux-musl
steps:
- uses: hecrj/setup-rust-action@master
with:
rust-version: ${{ matrix.rust }}
components: ${{ matrix.components || '' }}
targets: ${{ matrix.targets || '' }}
- name: Check cargo availability
run: cargo --version
- name: Check rustup default toolchain
run: rustup default | grep '${{ matrix.rust }}'
- name: Check rustfmt and clippy are available on MacOS
if: matrix.os == 'macOS-latest' && matrix.rust == 'stable'
run: |
cargo fmt --version
cargo clippy --version
- name: Check targets are installed correctly
if: matrix.rust == 'stable'
run: rustup target list --installed | grep '${{ matrix.targets }}'

View File

@@ -2,8 +2,8 @@
set -e
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain none --profile minimal
PATH="$HOME/.cargo/bin:$PATH"
echo "$HOME/.cargo/bin" >> $GITHUB_PATH
. "$HOME/.cargo/env"
args=()
# shellcheck disable=SC2206