Skip to content

Commit

Permalink
remove unusable test ci
Browse files Browse the repository at this point in the history
  • Loading branch information
Reecepbcups committed Mar 21, 2024
1 parent 3c9ca36 commit a3320c6
Show file tree
Hide file tree
Showing 2 changed files with 43 additions and 39 deletions.
46 changes: 24 additions & 22 deletions .github/workflows/cw_audit_dependencies.yml
Original file line number Diff line number Diff line change
@@ -1,25 +1,27 @@
name: cw check dependencies
# TODO: error: could not find `Cargo.toml` in `/home/runner/work/ibc-apps/ibc-apps` or any parent directory

on:
schedule:
- cron: '0 0 1 * *'
push:
paths:
- '**/Cargo.toml'
- '**/Cargo.lock'
pull_request:
# name: cw check dependencies

env:
WORKING_DIRECTORY: cosmwasm/polytone
# on:
# schedule:
# - cron: '0 0 1 * *'
# push:
# paths:
# - '**/Cargo.toml'
# - '**/Cargo.lock'
# pull_request:

jobs:
audit:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ${{ env.WORKING_DIRECTORY }}
steps:
- uses: actions/checkout@v2
- uses: actions-rs/[email protected]
with:
token: ${{ secrets.GITHUB_TOKEN }}
# env:
# WORKING_DIRECTORY: cosmwasm/polytone

# jobs:
# audit:
# runs-on: ubuntu-latest
# defaults:
# run:
# working-directory: ${{ env.WORKING_DIRECTORY }}
# steps:
# - uses: actions/checkout@v2
# - uses: actions-rs/[email protected]
# with:
# token: ${{ secrets.GITHUB_TOKEN }}
36 changes: 19 additions & 17 deletions .github/workflows/polytone.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,23 +28,25 @@ jobs:
token: ${{ secrets.GITHUB_TOKEN }}
args: --manifest-path ${{env.WORKING_DIRECTORY}}/Cargo.toml

rust_fmt:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ${{ env.WORKING_DIRECTORY }}
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
components: rustfmt
override: true
- name: Run cargo fmt
uses: actions-rs/cargo@v1
with:
command: fmt
args: --check --manifest-path ${{env.WORKING_DIRECTORY}}/Cargo.toml
# TODO: Failed to find targets
# This utility formats all bin and lib files of the current crate using rustfmt.
# rust_fmt:
# runs-on: ubuntu-latest
# defaults:
# run:
# working-directory: ${{ env.WORKING_DIRECTORY }}
# steps:
# - uses: actions/checkout@v2
# - uses: actions-rs/toolchain@v1
# with:
# toolchain: stable
# components: rustfmt
# override: true
# - name: Run cargo fmt
# uses: actions-rs/cargo@v1
# with:
# command: fmt
# args: --check --manifest-path ${{env.WORKING_DIRECTORY}}/Cargo.toml

build:
runs-on: ubuntu-latest
Expand Down

0 comments on commit a3320c6

Please sign in to comment.