Fix incorrect file names
This commit is contained in:
parent
4294081abb
commit
ecdfd65f50
19
.github/workflows/clippy.yml
vendored
19
.github/workflows/clippy.yml
vendored
@ -1,19 +0,0 @@
|
|||||||
name: Code quality
|
|
||||||
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
tags:
|
|
||||||
- 'v*'
|
|
||||||
env:
|
|
||||||
CARGO_TERM_COLOR: always
|
|
||||||
jobs:
|
|
||||||
publish:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v1
|
|
||||||
- run: cargo login ${CRATES_IO_TOKEN}
|
|
||||||
working-directory: ./daedalus
|
|
||||||
env:
|
|
||||||
CRATES_IO_TOKEN: ${{ secrets.CRATES_IO_TOKEN }}
|
|
||||||
- run: cargo publish
|
|
||||||
working-directory: ./daedalus
|
|
||||||
30
.github/workflows/lint.yml
vendored
Normal file
30
.github/workflows/lint.yml
vendored
Normal file
@ -0,0 +1,30 @@
|
|||||||
|
name: Publish to crates.io
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches: [ master ]
|
||||||
|
pull_request:
|
||||||
|
env:
|
||||||
|
CARGO_TERM_COLOR: always
|
||||||
|
jobs:
|
||||||
|
lint:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
- name: Install toolchain
|
||||||
|
uses: actions-rs/toolchain@v1
|
||||||
|
with:
|
||||||
|
toolchain: stable
|
||||||
|
override: true
|
||||||
|
components: rustfmt, clippy
|
||||||
|
- name: Cache build artifacts
|
||||||
|
id: cache-build
|
||||||
|
uses: actions/cache@v2
|
||||||
|
with:
|
||||||
|
path: target/**
|
||||||
|
key: ${{ runner.os }}-build-cache
|
||||||
|
- name: Annotate commit with clippy warnings
|
||||||
|
uses: actions-rs/clippy-check@v1
|
||||||
|
with:
|
||||||
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
args: --all-features
|
||||||
33
.github/workflows/publish.yml
vendored
33
.github/workflows/publish.yml
vendored
@ -1,30 +1,19 @@
|
|||||||
name: Publish to crates.io
|
name: Code quality
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: [ master ]
|
tags:
|
||||||
pull_request:
|
- 'v*'
|
||||||
env:
|
env:
|
||||||
CARGO_TERM_COLOR: always
|
CARGO_TERM_COLOR: always
|
||||||
jobs:
|
jobs:
|
||||||
lint:
|
publish:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v1
|
||||||
- name: Install toolchain
|
- run: cargo login ${CRATES_IO_TOKEN}
|
||||||
uses: actions-rs/toolchain@v1
|
working-directory: ./daedalus
|
||||||
with:
|
env:
|
||||||
toolchain: stable
|
CRATES_IO_TOKEN: ${{ secrets.CRATES_IO_TOKEN }}
|
||||||
override: true
|
- run: cargo publish
|
||||||
components: rustfmt, clippy
|
working-directory: ./daedalus
|
||||||
- name: Cache build artifacts
|
|
||||||
id: cache-build
|
|
||||||
uses: actions/cache@v2
|
|
||||||
with:
|
|
||||||
path: target/**
|
|
||||||
key: ${{ runner.os }}-build-cache
|
|
||||||
- name: Annotate commit with clippy warnings
|
|
||||||
uses: actions-rs/clippy-check@v1
|
|
||||||
with:
|
|
||||||
token: ${{ secrets.GITHUB_TOKEN }}
|
|
||||||
args: --all-features
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user