Skip to content

chore(deps): update module github.com/open-feature/go-sdk-contrib/tests/flagd to v2 #5441

chore(deps): update module github.com/open-feature/go-sdk-contrib/tests/flagd to v2

chore(deps): update module github.com/open-feature/go-sdk-contrib/tests/flagd to v2 #5441

Workflow file for this run

name: ci
on:
push:
branches:
- feature/workflows
- main
pull_request:
branches:
- main
env:
GO_VERSION: '1.25.8'
jobs:
lint:
runs-on: ubuntu-latest
env:
GOPATH: /home/runner/work/open-feature/go-sdk-contrib
GOBIN: /home/runner/work/open-feature/go-sdk-contrib/bin
steps:
- name: Install Go
uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6
with:
go-version: ${{ env.GO_VERSION }}
- name: Checkout repository
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
- name: Setup Environment
run: |
echo "GOPATH=$(go env GOPATH)" >> $GITHUB_ENV
echo "$(go env GOPATH)/bin" >> $GITHUB_PATH
- name: Module cache
uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5
env:
cache-name: go-mod-cache
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-${{ env.cache-name }}-${{ hashFiles('**/go.sum') }}
- name: Run workspace init
run: make workspace-init
- name: Run Vulncheck
continue-on-error: true
run: make vulncheck
- name: Run linter
run: make lint
test:
runs-on: ubuntu-latest
steps:
- name: Install Go
uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6
with:
go-version: ${{ env.GO_VERSION }}
- name: Checkout repository
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
with:
submodules: recursive
- name: Setup Environment
run: |
echo "GOPATH=$(go env GOPATH)" >> $GITHUB_ENV
echo "$(go env GOPATH)/bin" >> $GITHUB_PATH
- name: Module cache
uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5
env:
cache-name: go-mod-cache
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-${{ env.cache-name }}-${{ hashFiles('**/go.sum') }}
- name: Run workspace init
run: make workspace-init
- name: Run tests, including e2e
run: make e2e