-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into fix-relative-paths-last-good
Signed-off-by: Simar <[email protected]>
- Loading branch information
Showing
165 changed files
with
3,392 additions
and
1,268 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -25,7 +25,7 @@ jobs: | |
- uses: actions/checkout@v3 | ||
|
||
- name: Set up Go | ||
uses: actions/setup-go@v3 | ||
uses: actions/setup-go@v4 | ||
with: | ||
go-version: oldstable | ||
|
||
|
@@ -46,13 +46,22 @@ jobs: | |
skip-cache: true # https://github.com/golangci/golangci-lint-action/issues/244#issuecomment-1052197778 | ||
if: matrix.operating-system == 'ubuntu-latest' | ||
|
||
# Install tools | ||
- uses: aquaproj/[email protected] | ||
- name: Install tools | ||
uses: aquaproj/[email protected] | ||
with: | ||
aqua_version: v1.25.0 | ||
|
||
- name: Check if CLI references are up-to-date | ||
run: | | ||
mage docs:generate | ||
if [ -n "$(git status --porcelain)" ]; then | ||
echo "Run 'mage docs:generate' and push it" | ||
exit 1 | ||
fi | ||
if: matrix.operating-system == 'ubuntu-latest' | ||
|
||
- name: Run unit tests | ||
run: make test | ||
run: mage test:unit | ||
|
||
integration: | ||
name: Integration Test | ||
|
@@ -62,12 +71,17 @@ jobs: | |
uses: actions/checkout@v3 | ||
|
||
- name: Set up Go | ||
uses: actions/setup-go@v3 | ||
uses: actions/setup-go@v4 | ||
with: | ||
go-version-file: go.mod | ||
|
||
- name: Install tools | ||
uses: aquaproj/[email protected] | ||
with: | ||
aqua_version: v1.25.0 | ||
|
||
- name: Run integration tests | ||
run: make test-integration | ||
run: mage test:integration | ||
|
||
module-test: | ||
name: Module Integration Test | ||
|
@@ -77,19 +91,19 @@ jobs: | |
uses: actions/checkout@v3 | ||
|
||
- name: Set up Go | ||
uses: actions/setup-go@v3 | ||
uses: actions/setup-go@v4 | ||
with: | ||
go-version-file: go.mod | ||
|
||
# Install tools | ||
- uses: aquaproj/[email protected] | ||
- name: Install tools | ||
uses: aquaproj/[email protected] | ||
with: | ||
aqua_version: v1.25.0 | ||
|
||
- name: Run module integration tests | ||
shell: bash | ||
run: | | ||
make test-module-integration | ||
mage test:module | ||
build-test: | ||
name: Build Test | ||
|
@@ -111,7 +125,7 @@ jobs: | |
uses: actions/checkout@v3 | ||
|
||
- name: Set up Go | ||
uses: actions/setup-go@v3 | ||
uses: actions/setup-go@v4 | ||
with: | ||
go-version-file: go.mod | ||
|
||
|
@@ -120,5 +134,4 @@ jobs: | |
with: | ||
version: v1.4.1 | ||
args: release --skip-sign --snapshot --rm-dist --skip-publish --timeout 90m | ||
env: | ||
GPG_FILE: "nofile" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,9 +24,13 @@ jobs: | |
uses: actions/checkout@v3 | ||
|
||
- name: Set up Go | ||
uses: actions/setup-go@v3 | ||
uses: actions/setup-go@v4 | ||
with: | ||
go-version-file: go.mod | ||
- name: Install tools | ||
uses: aquaproj/[email protected] | ||
with: | ||
aqua_version: v1.25.0 | ||
- name: Run vm integration tests | ||
run: | | ||
make test-vm-integration | ||
mage test:vm |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -34,4 +34,7 @@ integration/testdata/fixtures/vm-images | |
dist | ||
|
||
# WebAssembly | ||
*.wasm | ||
*.wasm | ||
|
||
# Signing | ||
gpg.key |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,3 +10,6 @@ RUN curl --retry 5 -OL https://github.com/protocolbuffers/protobuf/releases/down | |
|
||
RUN go install github.com/twitchtv/twirp/[email protected] | ||
RUN go install google.golang.org/protobuf/cmd/[email protected] | ||
RUN go install github.com/magefile/[email protected] | ||
|
||
ENV TRIVY_PROTOC_CONTAINER=true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,3 +6,4 @@ registries: | |
ref: v3.106.0 # renovate: depName=aquaproj/aqua-registry | ||
packages: | ||
- name: tinygo-org/[email protected] | ||
- name: magefile/[email protected] |
Oops, something went wrong.