Skip to content

Implement Flags alg for flipt smithy #12

Implement Flags alg for flipt smithy

Implement Flags alg for flipt smithy #12

Workflow file for this run

name: release
concurrency: release
on:
pull_request:
branches: ['**']
push:
branches: [master]
tags: [v*]
jobs:
build:
name: Build and Test
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Setup Java
uses: actions/setup-java@v3
with:
distribution: temurin
java-version: 11
cache: sbt
- name: Lint
run: sbt scalafmtCheckAll scalafmtSbtCheck 'scalafix --check'
- name: Test
run: sbt ++test
- name: Compile docs
run: sbt 'docs/mdoc'
release:
needs: [build]
if: github.event_name != 'pull_request' && (startsWith(github.ref, 'refs/tags/v')

Check failure on line 38 in .github/workflows/ci.yaml

View workflow run for this annotation

GitHub Actions / release

Invalid workflow file

The workflow is not valid. .github/workflows/ci.yaml (Line: 38, Col: 9): Unexpected end of expression: ')'. Located at position 77 within expression: github.event_name != 'pull_request' && (startsWith(github.ref, 'refs/tags/v')
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Setup Java
uses: actions/setup-java@v3
with:
distribution: temurin
java-version: 8
cache: sbt
- name: Cache
uses: actions/cache@v2
with:
path: |
~/.sbt
~/.ivy2/cache
~/.coursier
key: ${{ runner.os }}-sbt-${{ hashfiles('**/build.sbt', '**/project/*.scala', '**/project/*.sbt') }}
- name: Release
run: sbt ci-release
env:
SONATYPE_USERNAME: ${{ secrets.SONATYPE_USERNAME }}
SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }}
PGP_SECRET: ${{ secrets.PGP_SECRET }}
PGP_PASSPHRASE: ${{ secrets.PGP_PASSPHRASE }}