Skip to content

Commit

Permalink
Get rid of deprecated GHA actions (#110)
Browse files Browse the repository at this point in the history
  • Loading branch information
Vivek Lakshmanan authored Dec 1, 2020
1 parent 9bd6bd3 commit d09300d
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/push_and_pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- name: Check out code
uses: actions/checkout@v2
- name: Install Go
uses: actions/setup-go@v2.1.1
uses: actions/setup-go@v2
with:
go-version: '1.14.6'
- name: GoReleaser
Expand All @@ -31,7 +31,7 @@ jobs:
- name: Check out code
uses: actions/checkout@v2
- name: Install Go
uses: actions/setup-go@v2.1.1
uses: actions/setup-go@v2
with:
go-version: '1.14.6'
- name: Install Ginkgo testing framework
Expand All @@ -56,13 +56,13 @@ jobs:
run: |
# Install Pulumi
curl -fsSL https://get.pulumi.com | bash -s
export PATH=$HOME/.pulumi/bin:$PATH
echo "::set-env name=PATH::$PATH"
- name: Set env variables and path
run: |
echo '$HOME/.pulumi/bin' >> $GITHUB_PATH
echo "STACK=ci-cluster-$(head /dev/urandom | LC_CTYPE=C tr -dc '[:lower:]' | head -c5)" >> $GITHUB_ENV
- name: Tests
run: |
# Create GKE test cluster to install CRDs and use with the test operator.
export STACK=ci-cluster-$(head /dev/urandom | LC_CTYPE=C tr -dc '[:lower:]' | head -c5)
echo "::set-env name=STACK::$STACK"
scripts/ci-cluster-create.sh
# Run tests
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/tag_release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
- name: Check out code
uses: actions/checkout@v2
- name: Install Go
uses: actions/setup-go@v2.1.1
uses: actions/setup-go@v2
with:
go-version: '1.14.6'
- name: Install Ginkgo testing framework
Expand All @@ -38,13 +38,13 @@ jobs:
run: |
# Install Pulumi
curl -fsSL https://get.pulumi.com | bash -s
export PATH=$HOME/.pulumi/bin:$PATH
echo "::set-env name=PATH::$PATH"
- name: Set env variables
run: |
echo '$HOME/.pulumi/bin' >> $GITHUB_PATH
echo "STACK=ci-cluster-$(head /dev/urandom | LC_CTYPE=C tr -dc '[:lower:]' | head -c5)" >> $GITHUB_ENV
- name: Tests
run: |
# Create GKE test cluster to install CRDs and use with the test operator.
export STACK=ci-cluster-$(head /dev/urandom | LC_CTYPE=C tr -dc '[:lower:]' | head -c5)
echo "::set-env name=STACK::$STACK"
scripts/ci-cluster-create.sh
# Run tests
Expand All @@ -62,7 +62,7 @@ jobs:
- name: Check out code
uses: actions/checkout@v2
- name: Install Go
uses: actions/setup-go@v2.1.1
uses: actions/setup-go@v2
with:
go-version: '1.14.6'
- name: Login to Docker Hub
Expand Down

0 comments on commit d09300d

Please sign in to comment.