Skip to content

refactor: remove libWeWorkFinanceSdk_C from root #22

refactor: remove libWeWorkFinanceSdk_C from root

refactor: remove libWeWorkFinanceSdk_C from root #22

Workflow file for this run

name: Go
on:
push:
branches: [ master, main ]
pull_request:
branches: [ master, main ]
jobs:
build:
runs-on: ubuntu-latest
env:
GOPATH: ${{ github.workspace }}
package: src/github.com/${{ github.repository }}
defaults:
run:
working-directory: ${{ env.GOPATH }}/${{ env.package }}
steps:
- uses: actions/checkout@v3
with:
path: ${{ env.GOPATH }}/${{ env.package }}
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '1.18'
cache-dependency-path: |
${{ env.GOPATH }}/${{ env.package }}/go.mod
${{ env.GOPATH }}/${{ env.package }}/go.sum
- name: Dependencies
run: go mod download
- name: Build
working-directory: ${{ env.GOPATH }}/${{ env.package }}
run: go build -v ./...
- name: Test
env:
APPKEY: ${{ secrets.APPKEY }}
SECRET: ${{ secrets.APP_SECRET }}
run: go test -v ./...