aboutsummaryrefslogtreecommitdiffhomepage
path: root/.github
diff options
context:
space:
mode:
authordeadprogram <[email protected]>2023-11-25 18:25:08 +0100
committerRon Evans <[email protected]>2023-11-29 08:58:27 +0100
commit2d289addb78a62de6e3b6e6b1b843ce6f65a8011 (patch)
tree0b97e9a27346611ec6c63998329d8ee432b5996d /.github
parent4df145dcb43988b7f298e577f2a9f236de02b55f (diff)
downloadtinygo-2d289addb78a62de6e3b6e6b1b843ce6f65a8011.tar.gz
tinygo-2d289addb78a62de6e3b6e6b1b843ce6f65a8011.zip
builds: update all GH action workflows to use latest versions
Signed-off-by: deadprogram <[email protected]>
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/build-macos.yml10
-rw-r--r--.github/workflows/docker.yml12
-rw-r--r--.github/workflows/linux.yml16
-rw-r--r--.github/workflows/llvm.yml10
-rw-r--r--.github/workflows/nix.yml2
-rw-r--r--.github/workflows/sizediff.yml2
-rw-r--r--.github/workflows/windows.yml20
7 files changed, 36 insertions, 36 deletions
diff --git a/.github/workflows/build-macos.yml b/.github/workflows/build-macos.yml
index fcbf2c4d3..9b8b00aad 100644
--- a/.github/workflows/build-macos.yml
+++ b/.github/workflows/build-macos.yml
@@ -21,11 +21,11 @@ jobs:
run: |
HOMEBREW_NO_AUTO_UPDATE=1 brew install qemu binaryen
- name: Checkout
- uses: actions/checkout@v3
+ uses: actions/checkout@v4
with:
submodules: true
- name: Install Go
- uses: actions/setup-go@v3
+ uses: actions/setup-go@v4
with:
go-version: '1.21'
cache: true
@@ -106,7 +106,7 @@ jobs:
# - have a double-zipped artifact when downloaded from the UI
# - have a very slow artifact upload
# We're doing the former here, to keep artifact uploads fast.
- uses: actions/upload-artifact@v2
+ uses: actions/upload-artifact@v3
with:
name: darwin-amd64-double-zipped
path: build/tinygo.darwin-amd64.tar.gz
@@ -132,9 +132,9 @@ jobs:
run: |
HOMEBREW_NO_AUTO_UPDATE=1 brew install llvm@${{ matrix.version }}
- name: Checkout
- uses: actions/checkout@v3
+ uses: actions/checkout@v4
- name: Install Go
- uses: actions/setup-go@v3
+ uses: actions/setup-go@v4
with:
go-version: '1.21'
cache: true
diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml
index 8716a806d..1425d808f 100644
--- a/.github/workflows/docker.yml
+++ b/.github/workflows/docker.yml
@@ -28,14 +28,14 @@ jobs:
sudo rm -rf /usr/local/graalvm
sudo rm -rf /usr/local/share/boost
- name: Check out the repo
- uses: actions/checkout@v3
+ uses: actions/checkout@v4
with:
submodules: recursive
- name: Set up Docker Buildx
- uses: docker/setup-buildx-action@v2
+ uses: docker/setup-buildx-action@v3
- name: Docker meta
id: meta
- uses: docker/metadata-action@v4
+ uses: docker/metadata-action@v5
with:
images: |
tinygo/tinygo-dev
@@ -44,18 +44,18 @@ jobs:
type=sha,format=long
type=raw,value=latest
- name: Log in to Docker Hub
- uses: docker/login-action@v2
+ uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKER_HUB_USERNAME }}
password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }}
- name: Log in to Github Container Registry
- uses: docker/login-action@v2
+ uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push
- uses: docker/build-push-action@v3
+ uses: docker/build-push-action@v5
with:
context: .
push: true
diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml
index a5cdf4c1e..76ebaba54 100644
--- a/.github/workflows/linux.yml
+++ b/.github/workflows/linux.yml
@@ -29,7 +29,7 @@ jobs:
# We're not on a multi-user machine, so this is safe.
run: git config --global --add safe.directory "$GITHUB_WORKSPACE"
- name: Checkout
- uses: actions/checkout@v3
+ uses: actions/checkout@v4
with:
submodules: true
- name: Cache Go
@@ -131,9 +131,9 @@ jobs:
needs: build-linux
steps:
- name: Checkout
- uses: actions/checkout@v3
+ uses: actions/checkout@v4
- name: Install Go
- uses: actions/setup-go@v3
+ uses: actions/setup-go@v4
with:
go-version: '1.21'
cache: true
@@ -161,7 +161,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
- uses: actions/checkout@v3
+ uses: actions/checkout@v4
with:
submodules: true
- name: Install apt dependencies
@@ -176,12 +176,12 @@ jobs:
simavr \
ninja-build
- name: Install Go
- uses: actions/setup-go@v3
+ uses: actions/setup-go@v4
with:
go-version: '1.21'
cache: true
- name: Install Node.js
- uses: actions/setup-node@v3
+ uses: actions/setup-node@v4
with:
node-version: '16'
- name: Install wasmtime
@@ -290,7 +290,7 @@ jobs:
needs: build-linux
steps:
- name: Checkout
- uses: actions/checkout@v3
+ uses: actions/checkout@v4
- name: Install apt dependencies
run: |
sudo apt-get update
@@ -299,7 +299,7 @@ jobs:
g++-${{ matrix.toolchain }} \
libc6-dev-${{ matrix.libc }}-cross
- name: Install Go
- uses: actions/setup-go@v3
+ uses: actions/setup-go@v4
with:
go-version: '1.21'
cache: true
diff --git a/.github/workflows/llvm.yml b/.github/workflows/llvm.yml
index ff9f3952b..701438ee7 100644
--- a/.github/workflows/llvm.yml
+++ b/.github/workflows/llvm.yml
@@ -25,14 +25,14 @@ jobs:
contents: read
steps:
- name: Check out the repo
- uses: actions/checkout@v3
+ uses: actions/checkout@v4
with:
submodules: recursive
- name: Set up Docker Buildx
- uses: docker/setup-buildx-action@v2
+ uses: docker/setup-buildx-action@v3
- name: Docker meta
id: meta
- uses: docker/metadata-action@v4
+ uses: docker/metadata-action@v5
with:
images: |
tinygo/llvm-16
@@ -46,13 +46,13 @@ jobs:
username: ${{ secrets.DOCKER_HUB_USERNAME }}
password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }}
- name: Log in to Github Container Registry
- uses: docker/login-action@v2
+ uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push
- uses: docker/build-push-action@v4
+ uses: docker/build-push-action@v5
with:
target: tinygo-llvm-build
context: .
diff --git a/.github/workflows/nix.yml b/.github/workflows/nix.yml
index 7d77d16d4..740de79f1 100644
--- a/.github/workflows/nix.yml
+++ b/.github/workflows/nix.yml
@@ -16,7 +16,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
- uses: actions/checkout@v3
+ uses: actions/checkout@v4
- name: Pull musl
run: |
git submodule update --init lib/musl
diff --git a/.github/workflows/sizediff.yml b/.github/workflows/sizediff.yml
index a74291f95..a1a4d8c4e 100644
--- a/.github/workflows/sizediff.yml
+++ b/.github/workflows/sizediff.yml
@@ -18,7 +18,7 @@ jobs:
run: |
echo "$HOME/go/bin" >> $GITHUB_PATH
- name: Checkout
- uses: actions/checkout@v3
+ uses: actions/checkout@v4
with:
fetch-depth: 0 # fetch all history (no sparse checkout)
submodules: true
diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml
index 443b9ecfc..b7f59479c 100644
--- a/.github/workflows/windows.yml
+++ b/.github/workflows/windows.yml
@@ -29,11 +29,11 @@ jobs:
run: |
scoop install ninja binaryen
- name: Checkout
- uses: actions/checkout@v3
+ uses: actions/checkout@v4
with:
submodules: true
- name: Install Go
- uses: actions/setup-go@v3
+ uses: actions/setup-go@v4
with:
go-version: '1.21'
cache: true
@@ -139,14 +139,14 @@ jobs:
run: |
scoop install binaryen
- name: Checkout
- uses: actions/checkout@v3
+ uses: actions/checkout@v4
- name: Install Go
- uses: actions/setup-go@v3
+ uses: actions/setup-go@v4
with:
go-version: '1.21'
cache: true
- name: Download TinyGo build
- uses: actions/download-artifact@v2
+ uses: actions/download-artifact@v3
with:
name: windows-amd64-double-zipped
path: build/
@@ -169,14 +169,14 @@ jobs:
maximum-size: 24GB
disk-root: "C:"
- name: Checkout
- uses: actions/checkout@v3
+ uses: actions/checkout@v4
- name: Install Go
- uses: actions/setup-go@v3
+ uses: actions/setup-go@v4
with:
go-version: '1.21'
cache: true
- name: Download TinyGo build
- uses: actions/download-artifact@v2
+ uses: actions/download-artifact@v3
with:
name: windows-amd64-double-zipped
path: build/
@@ -205,9 +205,9 @@ jobs:
run: |
scoop install binaryen && scoop install [email protected]
- name: Checkout
- uses: actions/checkout@v3
+ uses: actions/checkout@v4
- name: Install Go
- uses: actions/setup-go@v3
+ uses: actions/setup-go@v4
with:
go-version: '1.21'
cache: true