Skip to content

[serverless-1.31] patch func deploy task for serverless 1.31.1 #969

[serverless-1.31] patch func deploy task for serverless 1.31.1

[serverless-1.31] patch func deploy task for serverless 1.31.1 #969

Workflow file for this run

name: Func Build
on: [pull_request]
jobs:
build:
name: Build
strategy:
matrix:
go: [1.20.2]
os: ["ubuntu-latest", "windows-latest", "macos-latest"]
runs-on: ${{ matrix.os }}
steps:
- name: Install Bash 4 on Mac
if: matrix.os == 'macos-latest'
run: |
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
brew update
brew install bash
brew install gnu-sed
echo "/usr/local/bin" >> $GITHUB_PATH
echo "$(brew --prefix)/opt/gnu-sed/libexec/gnubin" >> $GITHUB_PATH
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
with:
go-version: ${{ matrix.go }}
- name: Build
run: make build