Fix #295: Request to HTTP API /history returns error 401 just after reboot if LAN access without a password is configured #58
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Clang-Format | |
# Controls when the action will run. Triggers the workflow on push or pull request | |
# events but only for the master branch | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
types: [opened, synchronize, reopened] | |
# A workflow run is made up of one or more jobs that can run sequentially or in parallel | |
jobs: | |
# This workflow contains a single job called "clang-format" | |
clang-format: | |
# The type of runner that the job will run on | |
runs-on: ubuntu-latest | |
# Steps represent a sequence of tasks that will be executed as part of the job | |
steps: | |
- name: Check out code | |
uses: actions/checkout@v4 # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it | |
- name: Install Clang-Format 14 | |
run: | | |
wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add - | |
sudo add-apt-repository "deb http://apt.llvm.org/focal/ llvm-toolchain-focal-14 main" | |
sudo apt-get update | |
sudo apt-get install -y clang-format-14 | |
- name: Run clang-format | |
run: scripts/clang_format_all.sh | |
- name: Check formatting | |
run: git diff --exit-code --diff-filter=d --color |