Skip to content

Commit

Permalink
#1 moved from reo
Browse files Browse the repository at this point in the history
  • Loading branch information
yegor256 committed Oct 4, 2022
1 parent 3dc626d commit 16574f7
Show file tree
Hide file tree
Showing 19 changed files with 1,474 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Check out all text files in UNIX format, with LF as end of line
# Don't change this file. If you have any ideas about it, please
# submit a separate issue about it and we'll discuss.

* text=auto eol=lf
*.java ident
*.xml ident
*.png binary
22 changes: 22 additions & 0 deletions .github/workflows/cargo.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: cargo
on:
push:
pull_request:
concurrency:
group: ${{ github.ref }}
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: 17
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
- run: cargo test -vv
- run: target/debug/reo --help
- run: cargo fmt --check
15 changes: 15 additions & 0 deletions .github/workflows/pdd.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
---
name: pdd
"on":
push:
branches:
- master
pull_request:
branches:
- master
jobs:
pdd:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- uses: g4s8/pdd-action@master
21 changes: 21 additions & 0 deletions .github/workflows/tarpaulin.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
---
name: tarpaulin
on:
push:
pull_request:
jobs:
check:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true
- uses: actions-rs/tarpaulin@v0.1
with:
version: '0.15.0'
args: '-- --test-threads 1'
- uses: codecov/codecov-action@v3
with:
fail_ci_if_error: true
15 changes: 15 additions & 0 deletions .github/workflows/xcop.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
---
name: xcop
"on":
push:
branches:
- master
pull_request:
branches:
- master
jobs:
xcop:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- uses: g4s8/xcop-action@master
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
.idea/
target/
*.relf
19 changes: 19 additions & 0 deletions .rultor.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
docker:
image: yegor256/rultor-image:1.13.0
assets:
credentials: yegor256/objectionary-secrets#crates-credentials
install: |
pdd --file=/dev/null
merge:
script: |
cargo --color=never test -vv
cargo --color=never fmt --check
release:
script: |-
[[ "${tag}" =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]] || exit -1
sed -i -e "s/^version = \"0.0.0\"/version = \"${tag}\"/" Cargo.toml
cargo --color=never test -vv
cargo --color=never fmt --check
git commit -am "${tag}"
mkdir -p ~/.cargo && cp ../credentials ~/.cargo
cargo --color=never publish
Loading

0 comments on commit 16574f7

Please sign in to comment.