Update build_and_tests_reusable.yaml (#266) #272
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
name: build-and-tests | ||
on: | ||
push: | ||
branches: [ main, release ] | ||
pull_request: | ||
branches: [ main, release ] | ||
workflow_dispatch: | ||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.ref }} | ||
cancel-in-progress: true | ||
env: | ||
CARGO_TERM_COLOR: always | ||
CARGO_INCREMENTAL: 0 # TODO: remove this when we cache the builds | ||
jobs: | ||
version: | ||
uses: radumarias/rencfs/.github/workflows/version_reusable.yaml@main | ||
Check failure on line 18 in .github/workflows/build_and_tests.yaml GitHub Actions / .github/workflows/build_and_tests.yamlInvalid workflow file
|
||
build_and_test: | ||
name: build and test | ||
uses: radumarias/rencfs/.github/workflows/build_and_tests_reusable.yaml@main | ||
secrets: inherit | ||
package: | ||
needs: [version, build_and_test] | ||
uses: radumarias/rencfs/.github/workflows/package_reusable.yaml@main | ||
with: | ||
upload_artifacts: false | ||
version: ${{ needs.version.outputs.version }} | ||
secrets: inherit | ||
permissions: | ||
id-token: write | ||
packages: write | ||
contents: read | ||
attestations: write |