Skip to content

feat: search option for items under walls and remove duplicated items #8

feat: search option for items under walls and remove duplicated items

feat: search option for items under walls and remove duplicated items #8

Workflow file for this run

---
name: Check code style
on:
pull_request:
paths:
- "source/**"
- ".github/workflows/clang-format.yml"
push:
paths:
- "source/**"
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Cancel Previous Runs
if: github.ref != 'refs/heads/master'
uses: fkirc/skip-duplicate-actions@master
with:
concurrent_skipping: "same_content"
cancel_others: true
- name: Set up Git
if: ${{ github.ref != 'refs/heads/master' }}
run: |
git config --global user.email "github-actions[bot]@users.noreply.github.com"
git config --global user.name "GitHub Actions"
- name: Actions checkout
if: ${{ github.ref != 'refs/heads/master' }}
uses: actions/checkout@v3
with:
repository: ${{ github.event.pull_request.head.repo.full_name }}
ref: ${{ github.event.pull_request.head.ref }}
token: ${{ secrets.GITHUB_TOKEN }}
- name: Run clang format lint
if: ${{ github.ref != 'refs/heads/master' }}
uses: DoozyX/[email protected]
with:
source: "source"
extensions: "cpp,hpp,h"
clangFormatVersion: 16
inplace: true
- name: Run add and commit
if: ${{ github.ref != 'refs/heads/master' }}
uses: EndBug/add-and-commit@v9
with:
author_name: GitHub Actions
author_email: github-actions[bot]@users.noreply.github.com
message: "Code format - (Clang-format)"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}