Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update to actions/[email protected] #264

Merged
merged 1 commit into from
Feb 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/announce-a-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout main
uses: actions/checkout@v3
uses: actions/checkout@v4.1.1
with:
ref: "main"
token: ${{ secrets.RELEASE_TOKEN }}
Expand Down Expand Up @@ -43,7 +43,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout main
uses: actions/checkout@v3
uses: actions/checkout@v4.1.1
with:
ref: "main"
token: ${{ secrets.RELEASE_TOKEN }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/breakage-against-linux-ponyc-latest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
container:
image: ghcr.io/ponylang/shared-docker-ci-x86-64-unknown-linux-builder:latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4.1.1
- name: Test
run: make unit-tests config=debug
- name: Send alert on failure
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
name: Verify main against the latest ponyc on macOS
runs-on: macos-14
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4.1.1
- name: install ponyc
run: bash .ci-scripts/macOS-arm64-install-pony-tools.bash nightly
- name: brew install dependencies
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
name: Verify main against the latest ponyc on macOS
runs-on: macos-13
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4.1.1
- name: install ponyc
run: bash .ci-scripts/macOS-x86-install-pony-tools.bash nightly
- name: brew install dependencies
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
name: Verify main against the latest ponyc on Windows
runs-on: windows-2022
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4.1.1
- name: Test with most recent ponyc nightly
run: |
Invoke-WebRequest https://dl.cloudsmith.io/public/ponylang/nightlies/raw/versions/latest/ponyc-x86-64-pc-windows-msvc.zip -OutFile C:\ponyc.zip;
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/generate-documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
name: Generate documentation for release
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4.1.1
- name: Generate documentation and upload
uses: docker://ghcr.io/ponylang/library-documentation-action:release
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/latest-docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
name: Build and push latest Docker image
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4.1.1
- name: Login to GitHub Container Registry
# v2.2.0
uses: docker/login-action@465a07811f14bebb1938fbed4728c6a1ff8901fc
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/lint-action-workflows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4.1.1
- name: Check workflow files
uses: docker://ghcr.io/ponylang/shared-docker-ci-actionlint:20230822
with:
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/nightlies.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
container:
image: ghcr.io/ponylang/shared-docker-ci-x86-64-unknown-linux-builder:release
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4.1.1
- name: Build and upload
run: bash .ci-scripts/release/x86-64-unknown-linux-nightly.bash
env:
Expand All @@ -32,7 +32,7 @@ jobs:
name: Build and upload x86-64-pc-windows-msvc-nightly to Cloudsmith
runs-on: windows-2022
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4.1.1
- name: Build and upload
run: |
python.exe -m pip install --upgrade cloudsmith-cli
Expand Down Expand Up @@ -61,7 +61,7 @@ jobs:
name: Build and upload x86-64-apple-darwin-nightly to Cloudsmith
runs-on: macos-13
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4.1.1
- name: install ponyc
run: bash .ci-scripts/macOS-x86-install-pony-tools.bash release
- name: brew install dependencies
Expand Down Expand Up @@ -90,7 +90,7 @@ jobs:
name: Build and upload arm64-apple-darwin-nightly to Cloudsmith
runs-on: macos-14
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4.1.1
- name: install ponyc
run: bash .ci-scripts/macOS-arm64-install-pony-tools.bash nightly
- name: brew install dependencies
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
name: Lint bash, docker, markdown, and yaml
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4.1.1
- name: Lint codebase
uses: docker://github/super-linter:v3.8.3
env:
Expand All @@ -26,7 +26,7 @@ jobs:
name: Validate Docker image builds
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4.1.1
- name: Docker build
run: "docker build --pull ."

Expand All @@ -36,7 +36,7 @@ jobs:
container:
image: ghcr.io/ponylang/changelog-tool:release
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4.1.1
- name: Verify CHANGELOG
run: changelog-tool verify

Expand All @@ -46,15 +46,15 @@ jobs:
container:
image: ghcr.io/ponylang/shared-docker-ci-x86-64-unknown-linux-builder:release
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4.1.1
- name: Test with most recent ponyc release
run: make test

x86_windows:
name: x86_64 Windows
runs-on: windows-2022
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4.1.1
- name: Test with most recent ponyc release
run: |
Invoke-WebRequest https://dl.cloudsmith.io/public/ponylang/releases/raw/versions/latest/ponyc-x86-64-pc-windows-msvc.zip -OutFile C:\ponyc.zip;
Expand All @@ -66,7 +66,7 @@ jobs:
name: x86_64 MacOS
runs-on: macos-13
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4.1.1
- name: install ponyc
run: bash .ci-scripts/macOS-x86-install-pony-tools.bash release
- name: brew install dependencies
Expand All @@ -80,7 +80,7 @@ jobs:
name: arm64 MacOS
runs-on: macos-14
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4.1.1
- name: install ponyc
run: bash .ci-scripts/macOS-arm64-install-pony-tools.bash nightly
- name: brew install dependencies
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/prepare-for-a-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout main
uses: actions/checkout@v3
uses: actions/checkout@v4.1.1
with:
ref: "main"
token: ${{ secrets.RELEASE_TOKEN }}
Expand Down Expand Up @@ -52,7 +52,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout main
uses: actions/checkout@v3
uses: actions/checkout@v4.1.1
with:
ref: "main"
token: ${{ secrets.RELEASE_TOKEN }}
Expand All @@ -77,7 +77,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout main
uses: actions/checkout@v3
uses: actions/checkout@v4.1.1
with:
ref: "main"
token: ${{ secrets.RELEASE_TOKEN }}
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout main
uses: actions/checkout@v3
uses: actions/checkout@v4.1.1
with:
ref: "main"
token: ${{ secrets.RELEASE_TOKEN }}
Expand All @@ -33,7 +33,7 @@ jobs:
container:
image: ghcr.io/ponylang/shared-docker-ci-x86-64-unknown-linux-builder:release
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4.1.1
- name: Build and upload
run: bash .ci-scripts/release/x86-64-unknown-linux-release.bash
env:
Expand All @@ -45,7 +45,7 @@ jobs:
needs:
- pre-artefact-creation
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4.1.1
- name: install ponyc
run: bash .ci-scripts/macOS-x86-install-pony-tools.bash release
- name: brew install dependencies
Expand All @@ -65,7 +65,7 @@ jobs:
needs:
- pre-artefact-creation
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4.1.1
- name: install ponyc
run: bash .ci-scripts/macOS-arm64-install-pony-tools.bash nightly
- name: brew install dependencies
Expand All @@ -85,7 +85,7 @@ jobs:
needs:
- pre-artefact-creation
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4.1.1
- name: Build and upload
run: |
python.exe -m pip install --upgrade cloudsmith-cli
Expand All @@ -105,7 +105,7 @@ jobs:
- pre-artefact-creation
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4.1.1
- name: Login to GitHub Container Registry
# v2.2.0
uses: docker/login-action@465a07811f14bebb1938fbed4728c6a1ff8901fc
Expand All @@ -122,7 +122,7 @@ jobs:
- pre-artefact-creation
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4.1.1
- name: Generate documentation and upload
uses: docker://ghcr.io/ponylang/library-documentation-action:release
with:
Expand All @@ -145,7 +145,7 @@ jobs:
- build-release-docker-images
- generate-documentation
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4.1.1
with:
ref: "main"
token: ${{ secrets.RELEASE_TOKEN }}
Expand Down
Loading