Skip to content

Commit

Permalink
checkstyle-for-java on PR test
Browse files Browse the repository at this point in the history
  • Loading branch information
suside committed Feb 5, 2022
1 parent 3d837c2 commit 86584d8
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/unit_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,18 @@ on:
branches: [ master ]

jobs:
checkstyle:
name: runner / checkstyle
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: dbelyaev/[email protected]
with:
github_token: ${{ secrets.github_token }}
reporter: github-pr-review
level: warning
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: set up JDK 1.8
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ public long getItemId(int pos) {
@Override
public View getView(final int position, final View convertView, ViewGroup parent) {
View view = convertView;
View view2_bad_format_test = convertView;
if (view == null) {
LayoutInflater inflater = (LayoutInflater) context.getSystemService(Context.LAYOUT_INFLATER_SERVICE);
view = inflater.inflate(R.layout.item_follower, null);
Expand All @@ -67,6 +68,7 @@ public void onClick(View v) {
Callback<ResponseBody> deleteFollowerListener = new Callback<ResponseBody>() {
@Override
public void onResponse(Response<ResponseBody> response, Retrofit retrofit) {
Retrofit tetrofit2_bad_format_test = retrofit;
if (response.isSuccess()) {
Toast.makeText(context, gs(R.string.follower_deleted_succesfully), Toast.LENGTH_LONG).show();
list.remove(position);
Expand Down

0 comments on commit 86584d8

Please sign in to comment.