2
0
mirror of https://github.com/frappe/frappe_docker.git synced 2025-01-10 09:02:13 +00:00
frappe_docker/.github/workflows/lint.yml
dependabot[bot] 266ae176b5
chore(deps): bump docker/bake-action from 3.0.0 to 3.0.1 (#1123)
* chore(deps): bump docker/bake-action from 3.0.0 to 3.0.1

Bumps [docker/bake-action](https://github.com/docker/bake-action) from 3.0.0 to 3.0.1.
- [Release notes](https://github.com/docker/bake-action/releases)
- [Commits](https://github.com/docker/bake-action/compare/v3.0.0...v3.0.1)

---
updated-dependencies:
- dependency-name: docker/bake-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* ci: upgrade pip for pre-commit lint

* ci: use python from ubuntu repos

* ci: install build essential

* ci: remove cache action

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Revant Nandgaonkar <revant.one@gmail.com>
2023-04-21 11:42:25 +05:30

36 lines
642 B
YAML

name: Lint
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: "3.10.6"
# For shfmt pre-commit hook
- name: Setup Go
uses: actions/setup-go@v4
with:
go-version: "^1.14"
- name: Install pre-commit
run: pip install -U pre-commit
- name: Lint
run: pre-commit run --color=always --all-files
env:
GO111MODULE: on