Skip to content

GH jobs

GH jobs #7

name: build-and-tests2
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: xoriors/rencfs/.github/workflows/version_reusable.yaml@main
build_and_test:
name: build and test
uses: xoriors/rencfs/.github/workflows/build_and_tests_reusable2.yaml@main
secrets: inherit
package:
needs: [ version, build_and_test ]
uses: xoriors/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