Skip to content

Implement change password for a user in FE #196

Implement change password for a user in FE

Implement change password for a user in FE #196

Workflow file for this run

name: Lint client
on:
push:
branches:
- main
pull_request:
types:
- opened
- reopened
- ready_for_review
- synchronize
jobs:
lint:
if: github.event.pull_request.draft != true
name: Run golangci-lint via Makefile
runs-on: ubuntu-latest
timeout-minutes: 20
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
submodules: recursive
- uses: awalsh128/[email protected]
with:
packages: libgl1-mesa-dev libxi-dev libxcursor-dev libxrandr-dev libxinerama-dev libwayland-dev libxkbcommon-dev build-essential libminizip-dev \
opencl-headers ocl-icd-libopencl1 protobuf-compiler git
version: 1.0
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: 1.23.4
# sudo apt-get install -y protobuf-compiler
- name: Install protoc and git pull
run: |
# Install protoc (Protocol Buffers Compiler)
# Install Go plugin for protoc
go install google.golang.org/protobuf/cmd/[email protected]
go install google.golang.org/grpc/cmd/[email protected]
# Ensure the bin directory is in PATH for protoc-gen-go and protoc-gen-go-grpc
echo "$(go env GOPATH)/bin" >> $GITHUB_PATH
git submodule update --init --remote --recursive
- name: Install golangci-lint
run: |
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.62.2
- name: Compile proto files
run: |
cd client
make proto
# install hascat as well for gocat
- name: Install hashcat
run: |
cd externals/gocat
sudo make install
sudo make set-user-permissions USER=${USER}
git reset --hard # needed for update-submodules.yaml
- name: Run golangci-lint:client
run: |
cd client
go mod tidy
make lint