Fix incorrect file names

This commit is contained in:
Jai A 2021-10-24 16:16:23 -07:00
parent 4294081abb
commit ecdfd65f50
No known key found for this signature in database
GPG Key ID: 2AA7E66D6ACA2201
3 changed files with 41 additions and 41 deletions

View File

@ -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
View 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

View File

@ -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