Skip to content

move to dedicated job #75

move to dedicated job

move to dedicated job #75

Workflow file for this run

name: CI
on:
push:
permissions:
contents: read
jobs:
build:
name: Build and Setup
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v4
- name: Build
uses: ./.github/actions/ci/build
acc_test:
name: Acceptance Tests
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v4
- name: Build
uses: ./.github/actions/ci/build
- name: Run Acceptance Tests
env:
DESCOPE_PROJECT_ID: ${{ secrets.DESCOPE_PROJECT_ID }}
DESCOPE_MANAGEMENT_KEY: ${{ secrets.DESCOPE_MANAGEMENT_KEY }}
DESCOPE_BASE_URL: https://api.descope.com
TF_ACC: 1
run: go test -v ./...
lint:
name: Run Linter
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v4
- name: Run Linter
uses: ./.github/actions/ci/lint
leaks:
name: Check Leaks
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Check Leaks
uses: ./.github/actions/ci/leaks
with:
gitleaks_license: ${{ secrets.GITLEAKS_LICENSE }}