Skip to content

Commit 0305f0b

Browse files
committed
Revert "Fixes from zizmor + add attestations and Dependabot config (#1)"
This reverts commit 5258054.
1 parent 5355961 commit 0305f0b

File tree

2 files changed

+6
-53
lines changed

2 files changed

+6
-53
lines changed

.github/dependabot.yml

Lines changed: 0 additions & 11 deletions
This file was deleted.

.github/workflows/main.yaml

Lines changed: 6 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -9,67 +9,31 @@ on:
99
description: Rust nightly date
1010
required: true
1111

12-
env:
13-
EMCC_VERSION: ${{ inputs.emcc_version }}
14-
RUST_NIGHTLY_DATE: ${{ inputs.rust_nightly_date }}
15-
16-
permissions: {}
17-
1812
jobs:
1913
pyodide-packages:
2014
name: Build & Publish rust emscripten-wasm-eh sysroot
2115
runs-on: ubuntu-latest
22-
permissions:
23-
contents: read
2416
timeout-minutes: 360
2517
steps:
2618
- name: Checkout
27-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
28-
with:
29-
persist-credentials: false
19+
uses: actions/checkout@v4
3020

3121
- name: free up disk space
3222
run: ./free-disk-space.sh
3323

3424
- name: Set up Python
35-
uses: actions/setup-python@8d9ed9ac5c53483de85588cdf95a591a75ab9f55 # v5.5.0
25+
uses: actions/setup-python@v4
3626
with:
3727
python-version: 3.12.8
3828

3929
- name: Build Rust sysroot
4030
run: |
41-
./main.sh ${EMCC_VERSION} ${RUST_NIGHTLY_DATE}
42-
43-
- name: Upload artifact
44-
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
45-
with:
46-
name: emcc-${EMCC_VERSION}_nightly-${RUST_NIGHTLY_DATE}
47-
path: emcc-${EMCC_VERSION}_nightly-${RUST_NIGHTLY_DATE}.tar.bz2
48-
if-no-files-found: error
49-
50-
publish:
51-
name: Publish rust emscripten-wasm-eh sysroot
52-
runs-on: ubuntu-latest
53-
needs: [pyodide-packages]
54-
permissions:
55-
id-token: write
56-
attestations: write
57-
steps:
58-
- name: Download artifact
59-
uses: actions/download-artifact@95815c38cf2ff2164869cbab79da8d1f422bc89e # v4.2.1
60-
with:
61-
path: upload
62-
merge-multiple: true
63-
64-
- name: Generate artifact attestation(s)
65-
uses: actions/attest-build-provenance@7668571508540a607bdfd90a87a560489fe372eb # v2.1.0
66-
with:
67-
subject-path: "upload/*.tar.bz2"
31+
./main.sh ${{ inputs.emcc_version }} ${{ inputs.rust_nightly_date }}
6832
6933
- name: Create GitHub Release
70-
uses: ncipollo/release-action@440c8c1cb0ed28b9f43e4d1d670870f059653174 # v1.16.0
34+
uses: ncipollo/release-action@v1
7135
with:
72-
artifacts: "upload/emcc-${EMCC_VERSION}_nightly-${RUST_NIGHTLY_DATE}.tar.bz2"
73-
tag: emcc-${EMCC_VERSION}_nightly-${RUST_NIGHTLY_DATE}
36+
artifacts: "emcc-${{ inputs.emcc_version }}_nightly-${{ inputs.rust_nightly_date }}.tar.bz2"
37+
tag: emcc-${{ inputs.emcc_version }}_nightly-${{ inputs.rust_nightly_date }}
7438
draft: false
7539
prerelease: false

0 commit comments

Comments
 (0)