Fix workflows yml structure

pull/3299/head
ioedeveloper 2 years ago committed by Aniket
parent b7ffa0d975
commit cfc222f466
  1. 25
      libs/remix-ui/workspace/src/lib/utils/constants.ts

@ -1,9 +1,9 @@
export const ROOT_PATH = '/'
export const solTestYml = `
name: Running Solidity Unit Tests
on: [push]
name: Running Solidity Unit Tests
on: [push]
jobs:
jobs:
run_sol_contracts_job:
runs-on: ubuntu-latest
name: A job to run solidity unit tests on github actions CI
@ -15,12 +15,12 @@ export const solTestYml = `
with:
test-path: 'tests'
compiler-version: '0.8.15'
`
`
export const tsSolTestYml = `
name: ts-sol-test
on: [push]
name: ts-sol-test
on: [push]
jobs:
jobs:
run_sample_test_job:
runs-on: ubuntu-latest
name: A job to run mocha and chai tests for solidity on github actions CI
@ -33,11 +33,12 @@ export const tsSolTestYml = `
test-path: 'tests'
contract-path: 'contracts'
compiler-version: '0.8.7'
`
`
export const slitherYml = `
name: Slither Analysis
on: [push]
jobs:
name: Slither Analysis
on: [push]
jobs:
analyze:
runs-on: ubuntu-latest
steps:
@ -45,4 +46,4 @@ export const slitherYml = `
- uses: crytic/slither-action@v0.2.0
with:
target: 'contracts/'
`
`

Loading…
Cancel
Save