stand up fusionauth so that tests can pass #2
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This is a starting workflow for building with GitHub Actions | |
name: Build | |
on: | |
push: | |
pull_request: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
# Check out code | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-go@v5 | |
# Set up the build environment | |
- name: Copy our kickstart file over so it gets picked up | |
run: mkdir faDockerComposeFilePath/ && cp -r .github/kickstart faDockerComposeFilePath/ && cp kickstart/kickstart.json faDockerComposeFilePath/kickstart/k2.json | |
- name: Start FusionAuth | |
uses: fusionauth/fusionauth-github-action@v1 | |
with: | |
FUSIONAUTH_VERSION: 1.48.3 | |
FUSIONAUTH_APP_KICKSTART_DIRECTORY_PATH: kickstart | |
- name: Install npm dependencies | |
# Compile | |
- name: Test that we can compile | |
run: cd pkg/fusionauth && go build | |
# Compile | |
- name: Run tests | |
run: cd pkg/fusionauth && go test | |
# Done! |