-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: remove unused tools and packages
- Loading branch information
Showing
11 changed files
with
58 additions
and
196 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,27 +9,33 @@ on: | |
pull_request: | ||
branches: | ||
- main | ||
|
||
env: | ||
EDGEDB_INSTANCE: "edgedb_codegen" | ||
EDGEDB_BRANCH: "main" | ||
|
||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.ref }} | ||
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }} | ||
|
||
jobs: | ||
lint: | ||
timeout-minutes: 15 | ||
runs-on: "ubuntu-latest" | ||
steps: | ||
- name: checkout repository | ||
uses: actions/checkout@v4 | ||
|
||
- name: setup | ||
uses: ./.github/actions/devenv | ||
with: | ||
github-token: ${{ secrets.GITHUB_TOKEN }} | ||
nix-cache: /tmp/nixcache | ||
|
||
- name: lint | ||
run: lint:all | ||
shell: bash | ||
|
||
test: | ||
timeout-minutes: 15 | ||
runs-on: "ubuntu-latest" | ||
|
@@ -41,34 +47,41 @@ jobs: | |
steps: | ||
- name: checkout repository | ||
uses: actions/checkout@v4 | ||
|
||
- name: setup | ||
uses: ./.github/actions/devenv | ||
with: | ||
github-token: ${{ secrets.GITHUB_TOKEN }} | ||
nix-cache: /tmp/nixcache | ||
|
||
- name: test | ||
run: test:all | ||
shell: bash | ||
|
||
coverage: | ||
timeout-minutes: 15 | ||
runs-on: "ubuntu-latest" | ||
steps: | ||
- name: checkout repository | ||
uses: actions/checkout@v4 | ||
|
||
- name: setup | ||
uses: ./.github/actions/devenv | ||
with: | ||
github-token: ${{ secrets.GITHUB_TOKEN }} | ||
nix-cache: /tmp/nixcache | ||
|
||
- name: test coverage | ||
run: coverage:all | ||
shell: bash | ||
|
||
- name: upload coverage | ||
uses: codecov/codecov-action@v3 | ||
with: | ||
files: codecov.json | ||
fail_ci_if_error: true | ||
token: ${{ secrets.CODECOV_TOKEN }} | ||
|
||
build: | ||
timeout-minutes: 15 | ||
runs-on: "ubuntu-latest" | ||
|
@@ -80,14 +93,17 @@ jobs: | |
steps: | ||
- name: checkout repository | ||
uses: actions/checkout@v4 | ||
|
||
- name: setup | ||
uses: ./.github/actions/devenv | ||
with: | ||
github-token: ${{ secrets.GITHUB_TOKEN }} | ||
nix-cache: /tmp/nixcache | ||
|
||
- name: build | ||
run: cargo build | ||
shell: bash | ||
|
||
release: | ||
if: github.event_name == 'push' | ||
runs-on: ubuntu-latest | ||
|
@@ -99,20 +115,24 @@ jobs: | |
with: | ||
app-id: ${{ secrets.APP_ID }} # <-- GitHub App ID secret name | ||
private-key: ${{ secrets.APP_PRIVATE_KEY }} # <-- GitHub App private key secret name | ||
|
||
- name: setup rust | ||
uses: dtolnay/rust-toolchain@stable | ||
|
||
- name: checkout | ||
uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
token: ${{ steps.generate-token.outputs.token }} | ||
|
||
- name: release | ||
uses: MarcoIeni/[email protected] | ||
id: release-plz | ||
env: | ||
GITHUB_TOKEN: ${{ steps.generate-token.outputs.token }} | ||
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }} | ||
- name: Tag released PRs | ||
|
||
- name: tag released prs | ||
env: | ||
GITHUB_TOKEN: ${{ steps.generate-token.outputs.token }} | ||
RELEASES: ${{ steps.release-plz.outputs.releases }} | ||
|
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 was deleted.
Oops, something went wrong.
Oops, something went wrong.