diff --git a/.github/workflows/publish-templates.yml b/.github/workflows/publish-templates.yml index b6381cf8106c..39e608378987 100644 --- a/.github/workflows/publish-templates.yml +++ b/.github/workflows/publish-templates.yml @@ -15,7 +15,7 @@ name: Publish templates on: -# push: # For testing locally, to be removed. + push: # For testing locally, to be removed. # A manual dispatch for now - automatic on releases later. workflow_dispatch: inputs: @@ -27,8 +27,6 @@ on: jobs: publish-templates: runs-on: ubuntu-latest - container: - image: docker.io/paritytech/ci-unified:bullseye-1.75.0-2024-01-22-v20240109 strategy: fail-fast: false matrix: @@ -134,28 +132,13 @@ jobs: # 3. Verify the build. Push the changes or create a PR. - # We've run into out-of-disk error when compiling Polkadot in the next step, so we free up some space this way. - - name: Free Disk Space (Ubuntu) - uses: jlumbroso/free-disk-space@54081f138730dfa15788a46383842cd2f914a1be # 1.3.1 - with: - android: true # This alone is a 12 GB save. - # We disable the rest because it caused some problems. (they're enabled by default) - # The Android removal is enough. - dotnet: false - haskell: false - large-packages: false - swap-storage: false - - name: Check if it compiles id: check-compilation run: | set -e - # Uncomment later. - # cargo build - # cargo test - - # Run anything instead, to generate Cargo.lock - cargo tree --depth 1 + Uncomment later. + cargo build + cargo test working-directory: "${{ env.template-path }}" timeout-minutes: 90 - name: Create PR on failure