-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
20 additions
and
49 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,50 +1,21 @@ | ||
# This workflow uses actions that are not certified by GitHub. | ||
# They are provided by a third-party and are governed by | ||
# separate terms of service, privacy policy, and support | ||
# documentation. | ||
name: Check compilation | ||
|
||
#name: Skate | ||
#permissions: write-all | ||
#on: | ||
# push: | ||
# branches: [ "main" ] | ||
# pull_request: | ||
# branches: [ "*" ] | ||
#jobs: | ||
# images: | ||
# name: Images | ||
# runs-on: ubuntu-latest | ||
# strategy: | ||
# matrix: | ||
# include: | ||
# - context: ./images/coredns | ||
# image: ghcr.io/skateco/coredns | ||
# steps: | ||
# - name: Check out the repo | ||
# uses: actions/checkout@v4 | ||
# | ||
# - name: Log in to the Container registry | ||
# uses: docker/login-action@65b78e6e13532edd9afa3aa52ac7964289d1a9c1 | ||
# with: | ||
# registry: ghcr.io | ||
# username: ${{ github.actor }} | ||
# password: ${{ secrets.GITHUB_TOKEN }} | ||
# | ||
# - name: Extract metadata (tags, labels) for Docker | ||
# id: meta | ||
# uses: docker/metadata-action@98669ae865ea3cffbcbaa878cf57c20bbf1c6c38 | ||
# with: | ||
# images: ${{ matrix.image }} | ||
# - name: Set up QEMU | ||
# uses: docker/setup-qemu-action@v3 | ||
# - name: Set up Docker Buildx | ||
# uses: docker/setup-buildx-action@v3 | ||
# - name: Build and push Docker images | ||
# uses: docker/build-push-action@v5 | ||
# with: | ||
# context: ${{ matrix.context }} | ||
# file: ${{ matrix.context }}/Dockerfile | ||
# platforms: linux/amd64,linux/arm/v6,linux/arm/v7,linux/arm64 | ||
# push: true | ||
# tags: ${{ steps.meta.outputs.tags }} | ||
# labels: ${{ steps.meta.outputs.labels }} | ||
on: | ||
push: | ||
# only trigger on branches, not on tags | ||
branches: '**' | ||
|
||
jobs: | ||
check: # Any action can contain multiple jobs | ||
runs-on: ubuntu-latest # OS on which the job runs | ||
steps: # Each job consists in a series of steps | ||
- name: Checkout # Clone git repository | ||
uses: actions/checkout@v3 | ||
|
||
- name: Install stable toolchain | ||
uses: dtolnay/rust-toolchain@stable | ||
|
||
- name: Check that code can compile | ||
run: cargo check # Run the `cargo check` command | ||
- name: Compile | ||
run: cargo build |
File renamed without changes.