Skip to content

Commit

Permalink
update github action versions; remove operator references
Browse files Browse the repository at this point in the history
  • Loading branch information
Dan Laine committed Dec 19, 2022
1 parent f862a94 commit 8ba4a34
Showing 1 changed file with 8 additions and 16 deletions.
24 changes: 8 additions & 16 deletions .github/workflows/build-test-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,6 @@ jobs:
name: Lint tests
runs-on: ubuntu-latest
steps:
- name: Allow access to avalanchego-operator repo
env:
GITHUB_ACCESS_TOKEN: ${{ secrets.SNOWBOT_PAT }}
run: git config --global url."https://${GITHUB_ACCESS_TOKEN}@github.com/ava-labs/avalanchego-operator".insteadOf "https://github.com/ava-labs/avalanchego-operator"
- name: Checkout
uses: actions/checkout@v3
- name: Set up Go
Expand All @@ -35,12 +31,8 @@ jobs:
name: Unit tests
runs-on: ubuntu-latest
steps:
- name: Allow access to avalanchego-operator repo
env:
GITHUB_ACCESS_TOKEN: ${{ secrets.SNOWBOT_PAT }}
run: git config --global url."https://${GITHUB_ACCESS_TOKEN}@github.com/ava-labs/avalanchego-operator".insteadOf "https://github.com/ava-labs/avalanchego-operator"
- uses: actions/checkout@v2
- uses: actions/setup-go@v2
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
with:
go-version: 1.18
- run: go test -v -timeout 10m -race ./...
Expand All @@ -51,11 +43,11 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Git checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Set up Go
uses: actions/setup-go@v2
uses: actions/setup-go@v3
with:
go-version: 1.18
- name: Run e2e tests
Expand All @@ -66,20 +58,20 @@ jobs:
runs-on: ubuntu-20.04
steps:
- name: Git checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
fetch-depth: 0
path: avalanche-network-runner
- name: Set up Go
uses: actions/setup-go@v2
uses: actions/setup-go@v3
with:
go-version: 1.18
- name: Set up arm64 cross compiler
run: |
sudo apt-get -y update
sudo apt-get -y install gcc-aarch64-linux-gnu
- name: Checkout osxcross
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
repository: tpoechtrager/osxcross
path: osxcross
Expand All @@ -95,7 +87,7 @@ jobs:
MACOS_SDK_FNAME: MacOSX12.3.sdk.tar.xz
MACOS_SDK_CHECKSUM: 3abd261ceb483c44295a6623fdffe5d44fc4ac2c872526576ec5ab5ad0f6e26c
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v2
uses: goreleaser/goreleaser-action@v4
with:
distribution: goreleaser
version: latest
Expand Down

0 comments on commit 8ba4a34

Please sign in to comment.