Fully qualify actions repos
Some checks failed
build / check (push) Failing after 16m59s

This commit is contained in:
Evilham 2024-02-28 16:23:35 +01:00
parent bf94ecdd4a
commit 2633c4e127
Signed by: evilham
GPG key ID: AE3EE30D970886BF
4 changed files with 70 additions and 67 deletions

View file

@ -11,11 +11,14 @@ jobs:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
- uses: https://github.com/actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
- uses: actions-rs/cargo@v1
- run: cargo build --release --target-dir target-linux
- run: cp -v target-linux/release/hebbot hebbot-linux
- uses: actions/upload-artifact@v4
with:
command: check
name: hebbot-linux
path: hebbot-linux

View file

@ -1,24 +1,24 @@
on:
push:
branches: [master]
pull_request:
name: clippy
jobs:
clippy:
name: clippy
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
- run: rustup component add clippy
- uses: actions-rs/cargo@v1
with:
command: clippy
args: -- -D warnings
#on:
# push:
# branches: [master]
# pull_request:
#
#name: clippy
#
#jobs:
# clippy:
# name: clippy
# runs-on: ubuntu-20.04
# steps:
# - uses: actions/checkout@v2
# - uses: https://github.com/actions-rs/toolchain@v1
# with:
# profile: minimal
# toolchain: stable
# override: true
# - run: rustup component add clippy
# - uses: https://github.com/actions-rs/cargo@v1
# with:
# command: clippy
# args: -- -D warnings
#

View file

@ -1,17 +1,17 @@
on:
push:
branches: [master]
pull_request:
name: codespell
jobs:
codespell:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- uses: codespell-project/actions-codespell@master
with:
check_filenames: true
ignore_words_list: "crate,ser,inout"
#
#on:
# push:
# branches: [master]
# pull_request:
#
#name: codespell
#
#jobs:
# codespell:
# runs-on: ubuntu-20.04
# steps:
# - uses: actions/checkout@v2
# - uses: https://github.com/codespell-project/actions-codespell@master
# with:
# check_filenames: true
# ignore_words_list: "crate,ser,inout"

View file

@ -1,23 +1,23 @@
on:
push:
branches: [master]
pull_request:
name: rustfmt
jobs:
fmt:
name: Rustfmt
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
- run: rustup component add rustfmt
- uses: actions-rs/cargo@v1
with:
command: fmt
args: --all -- --check
#on:
# push:
# branches: [master]
# pull_request:
#
#name: rustfmt
#
#jobs:
# fmt:
# name: Rustfmt
# runs-on: ubuntu-20.04
# steps:
# - uses: actions/checkout@v2
# - uses: https://github.com/actions-rs/toolchain@v1
# with:
# profile: minimal
# toolchain: stable
# override: true
# - run: rustup component add rustfmt
# - uses: https://github.com/actions-rs/cargo@v1
# with:
# command: fmt
# args: --all -- --check