Skip to content

Bump rojopolis/spellcheck-github-actions from 0.41.0 to 0.44.0 #256

Bump rojopolis/spellcheck-github-actions from 0.41.0 to 0.44.0

Bump rojopolis/spellcheck-github-actions from 0.41.0 to 0.44.0 #256

Workflow file for this run

# MIT License
#
# Copyright (c) 2022 EASE lab
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included in all
# copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE.
name: Build tests
on:
workflow_dispatch:
push:
branches: [ main ]
pull_request:
branches: [ main ]
# Allows to run this workflow from another workflow
workflow_call:
env:
GOOS: linux
GO111MODULE: on
jobs:
protoc-tests:
name: Protoc Tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install protoc
run: |
PROTOC_ZIP=protoc-3.14.0-linux-x86_64
curl -OL https://github.com/protocolbuffers/protobuf/releases/download/v3.14.0/$PROTOC_ZIP.zip
unzip -o $PROTOC_ZIP.zip -d $HOME/.local
chmod +x $HOME/.local/bin/protoc
rm -f $PROTOC_ZIP.zip
- uses: actions/setup-python@v5
with:
python-version: '3.10'
- name: Install pipenv
run: |
python -m pip install --upgrade pipenv wheel
- name: Build protoc files
run: |
go install google.golang.org/protobuf/cmd/[email protected]
go install google.golang.org/grpc/cmd/[email protected]
chmod +x $(go env GOPATH)/bin/*
export PATH="$PATH:$(go env GOPATH)/bin"
make proto-all