diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 00a994f3..bff1e479 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -12,9 +12,9 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4 - name: Run golangci-lint - uses: golangci/golangci-lint-action@v3 + uses: golangci/golangci-lint-action@3a919529898de77ec3da873e3063ca4b10e7f5cc # v3 with: # Hard-coding version due to this bug: https://github.com/golangci/golangci-lint-action/issues/535 version: v1.52.2 @@ -23,14 +23,14 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4 - name: Set up Go - uses: actions/setup-go@v3 + uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe # v4 with: go-version: 1.18 - name: Set up gotestfmt uses: GoTestTools/gotestfmt-action@v2 - - uses: actions/cache@v3 + - uses: actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84 # v3 with: path: | ~/go/pkg/mod @@ -52,7 +52,7 @@ jobs: go tool cover -func /tmp/coverage.out echo "::endgroup::" - name: Upload test log - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # v3 if: always() with: name: test-results @@ -66,12 +66,12 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4 - name: Set up Go - uses: actions/setup-go@v3 + uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe # v4 with: go-version: 1.18 - - uses: actions/cache@v3 + - uses: actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84 # v3 with: path: | ~/go/pkg/mod @@ -91,22 +91,22 @@ jobs: - generate steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4 with: fetch-depth: 0 - name: Set up Go - uses: actions/setup-go@v3 + uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe # v4 with: go-version: 1.18 - name: Login to Quay.io - uses: docker/login-action@v2 + uses: docker/login-action@343f7c4344506bcbf9b4de18042ae17996df046d # v3 if: startsWith(github.event.ref, 'refs/tags/') with: registry: quay.io username: ${{ secrets.QUAY_USERNAME }} password: ${{ secrets.QUAY_PASSWORD }} - name: Build and release - uses: goreleaser/goreleaser-action@v4 + uses: goreleaser/goreleaser-action@7ec5c2b0c6cdda6e8bbb49444bc797dd33d74dd8 # v5 if: startsWith(github.event.ref, 'refs/tags/') with: distribution: goreleaser @@ -117,7 +117,7 @@ jobs: GOPROXY: direct GOSUMDB: off - name: Build - uses: goreleaser/goreleaser-action@v4 + uses: goreleaser/goreleaser-action@7ec5c2b0c6cdda6e8bbb49444bc797dd33d74dd8 # v5 if: ${{ !startsWith(github.event.ref, 'refs/tags/') }} with: distribution: goreleaser @@ -127,7 +127,7 @@ jobs: GOPROXY: direct GOSUMDB: off - name: Upload artifacts - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # v3 with: name: binaries path: dist @@ -147,13 +147,13 @@ jobs: [[ -z $OK ]] && echo "[ERR] wrong version format: $VERSION" && exit 1 echo $OK - name: Check out code - uses: actions/checkout@v3 - - uses: actions/download-artifact@v3 + uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4 + - uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a # v3 with: name: binaries path: python/artifacts - name: Install Python - uses: actions/setup-python@v4 + uses: actions/setup-python@65d7f2d534ac1bc67fcd62888c5f4f3d2cb2b236 # v4 with: python-version: '3.9' architecture: 'x64' diff --git a/go.mod b/go.mod index af4cbf3a..1f667f2d 100644 --- a/go.mod +++ b/go.mod @@ -12,7 +12,7 @@ require ( go.flow.arcalot.io/expressions v0.2.1 go.flow.arcalot.io/kubernetesdeployer v0.8.0 go.flow.arcalot.io/pluginsdk v0.5.1 - go.flow.arcalot.io/podmandeployer v0.6.2 + go.flow.arcalot.io/podmandeployer v0.7.0 go.flow.arcalot.io/pythondeployer v0.4.0 go.flow.arcalot.io/testdeployer v0.4.0 gopkg.in/yaml.v3 v3.0.1 diff --git a/go.sum b/go.sum index 0b9337fc..65b6ca80 100644 --- a/go.sum +++ b/go.sum @@ -174,6 +174,8 @@ go.flow.arcalot.io/podmandeployer v0.6.1 h1:NPSQ82PyvxTRDsHuLj6oBhPUlhVVqPlnXWkE go.flow.arcalot.io/podmandeployer v0.6.1/go.mod h1:4wfcl0qjV02y64We3ZSDz+3lwdOfbe+gpFjm7SQKTRA= go.flow.arcalot.io/podmandeployer v0.6.2 h1:iAAZGgwhxInEVAleakavGruHnW4qsD/v39JpfnTeXiE= go.flow.arcalot.io/podmandeployer v0.6.2/go.mod h1:BmKbyG2qZG9PMPLkIeXUvKVJfU+AZx+POLvydZN26IY= +go.flow.arcalot.io/podmandeployer v0.7.0 h1:bXzWi4IjjLTIftUbH2NPgPiyTb82lzERVgfHP4zpmXI= +go.flow.arcalot.io/podmandeployer v0.7.0/go.mod h1:tiWVDNpeNpPrY2GloihwjtnCEzJf8zNxBbiwVGRX7rs= go.flow.arcalot.io/pythondeployer v0.4.0 h1:l8nw6awYMVzgND+ZXdbnNJPYu3V0sgSUFsIzn+SRgh0= go.flow.arcalot.io/pythondeployer v0.4.0/go.mod h1:me9SIMVTCBzCmceILdBMxXYrZGakiPOMasHgujmgJlE= go.flow.arcalot.io/testdeployer v0.4.0 h1:helexgZOnYlbzU+egkxsLs95iMwE3lc+vp+Qbv2xwFI=